diff options
| -rwxr-xr-x | nvim/.config/nvim/init.vim | 18 | ||||
| -rwxr-xr-x | 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() | |||
| 22 | set guicursor= | 22 | set guicursor= |
| 23 | set number relativenumber | 23 | set number relativenumber |
| 24 | set mouse=a | 24 | set mouse=a |
| 25 | "set background=dark | 25 | set background=dark |
| 26 | syntax enable | 26 | syntax enable |
| 27 | set cursorline | 27 | set cursorline |
| 28 | set ignorecase | 28 | set ignorecase |
| @@ -42,14 +42,14 @@ colorscheme pencil | |||
| 42 | "hi LineNr ctermbg=16 guibg=#000000 | 42 | "hi LineNr ctermbg=16 guibg=#000000 |
| 43 | 43 | ||
| 44 | " Change background based on macos theme | 44 | " Change background based on macos theme |
| 45 | let output = system("defaults read -g AppleInterfaceStyle") | 45 | " let output = system("defaults read -g AppleInterfaceStyle") |
| 46 | if v:shell_error != 0 | 46 | " if v:shell_error != 0 |
| 47 | set background=light | 47 | " set background=light |
| 48 | colorscheme plain | 48 | " colorscheme plain |
| 49 | else | 49 | " else |
| 50 | set background=dark | 50 | " set background=dark |
| 51 | colorscheme pencil | 51 | " colorscheme pencil |
| 52 | endif | 52 | " endif |
| 53 | 53 | ||
| 54 | let mapleader=" " | 54 | let mapleader=" " |
| 55 | 55 | ||
| @@ -6,6 +6,7 @@ setopt appendhistory hist_ignore_all_dups hist_ignore_space | |||
| 6 | 6 | ||
| 7 | #exports | 7 | #exports |
| 8 | export VISUAL=nvim | 8 | export VISUAL=nvim |
| 9 | export VIMRC="$HOME/.config/nvim/init.vim" | ||
| 9 | export EDITOR="$VISUAL" | 10 | export EDITOR="$VISUAL" |
| 10 | export PATH=$PATH:$HOME/.bin:$HOME/.local/bin | 11 | export PATH=$PATH:$HOME/.bin:$HOME/.local/bin |
| 11 | export TERM=rxvt-unicode-256color | 12 | export TERM=rxvt-unicode-256color |
