Drop vscode, simplify

This commit is contained in:
Thomas Gideon 2021-09-04 10:37:18 -04:00
parent 3475ed33b2
commit ca3bd5d9f8

View file

@ -1,6 +1,5 @@
if !exists('g:vscode') " set the directory where vimrc git project is located
" set the directory where my vimrc git project is located let vimrc_git=$HOME . "/src/vimrc"
source ~/.config/nvim/local.vim
" it is a big fat key, after all " it is a big fat key, after all
" N.B. should come before plugins and plugin specific settings " N.B. should come before plugins and plugin specific settings
@ -80,9 +79,7 @@ if !exists('g:vscode')
" smarter handling of case during search " smarter handling of case during search
set ignorecase set ignorecase
set smartcase set smartcase
" disable outdated data loss protections " centralize swap to have backup without clutter
" set nobackup
" set noswapfile
set directory=$HOME/.var/nvim/swp// set directory=$HOME/.var/nvim/swp//
" make pastemode more accessible " make pastemode more accessible
set pastetoggle=<F2> set pastetoggle=<F2>
@ -122,11 +119,6 @@ if !exists('g:vscode')
inoremap <C-Up> <Esc>:call AdjustFontSize(1)<CR>a inoremap <C-Up> <Esc>:call AdjustFontSize(1)<CR>a
inoremap <C-Down> <Esc>:call AdjustFontSize(-1)<CR>a inoremap <C-Down> <Esc>:call AdjustFontSize(-1)<CR>a
" widen the default display of the taskwarrior plugin to make the description
" wrap less
let g:task_rc_override = 'rc.defaultwidth=120'
" override the default location of vimwiki and change to markdown " override the default location of vimwiki and change to markdown
let g:vimwiki_list = [{'path': '~/Documents/Wiki', 'syntax': 'markdown', 'ext': '.md'}] let g:vimwiki_list = [{'path': '~/Documents/Wiki', 'syntax': 'markdown', 'ext': '.md'}]
let g:vimwiki_dir_link = 'index' let g:vimwiki_dir_link = 'index'
endif