diff options
| author | Alec Goncharow <alec@Alecs-Air.lan> | 2020-11-19 01:26:56 -0500 |
|---|---|---|
| committer | Alec Goncharow <alec@Alecs-Air.lan> | 2020-11-19 01:26:56 -0500 |
| commit | 4b4204a268f99b7ea2ab57fb7cb948263f73dee3 (patch) | |
| tree | c24fdbfcd0fa449fdd2ad876279f5540f5b3a6a4 | |
| parent | ae06d363a48cdc1f617b6ee16535d63e185c79f8 (diff) | |
mac updates
| -rw-r--r-- | .config/nvim/init.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 415f6b6..5d83b96 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -45,7 +45,12 @@ function! HasPaste() endfunction -set clipboard+=unnamedplus +if system('uname -s') == "Darwin\n" + set clipboard=unnamed "OSX +else + set clipboard=unnamedplus "Linux +endif + " " Copy to clipboard vnoremap <leader>y "+y nnoremap <leader>Y "+yg_ @@ -224,3 +229,4 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 +let g:tex_flavor='latex' |
