From 8e6b40e31d3a764684d8b97f7e34993c1a53f98a Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sun, 11 Sep 2022 12:53:24 -0700 Subject: nvim: fixing for linux --- nvim/.config/nvim/init.vim | 18 +++++++++--------- zsh/.zshrc | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 2d40555..244ec04 100755 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -22,7 +22,7 @@ call plug#end() set guicursor= set number relativenumber set mouse=a -"set background=dark +set background=dark syntax enable set cursorline set ignorecase @@ -42,14 +42,14 @@ colorscheme pencil "hi LineNr ctermbg=16 guibg=#000000 " Change background based on macos theme -let output = system("defaults read -g AppleInterfaceStyle") -if v:shell_error != 0 - set background=light - colorscheme plain -else - set background=dark - colorscheme pencil -endif +" let output = system("defaults read -g AppleInterfaceStyle") +" if v:shell_error != 0 +" set background=light +" colorscheme plain +" else +" set background=dark +" colorscheme pencil +" endif let mapleader=" " diff --git a/zsh/.zshrc b/zsh/.zshrc index a694066..22be085 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -6,6 +6,7 @@ setopt appendhistory hist_ignore_all_dups hist_ignore_space #exports export VISUAL=nvim +export VIMRC="$HOME/.config/nvim/init.vim" export EDITOR="$VISUAL" export PATH=$PATH:$HOME/.bin:$HOME/.local/bin export TERM=rxvt-unicode-256color -- cgit v1.2.3