From 435507b6c8d1873fc97066c9ed7440507774fb3a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 5 Jun 2020 17:13:52 +0300 Subject: nvim settings --- .config/nvim/init.vim | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9841ff7..497043b 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -189,7 +189,7 @@ endfunction " }}} Function " -"{{{Misc Settings +"{{{Settings " fix the Target STRING not available let g:clipboard = { @@ -276,8 +276,23 @@ let g:moonflyUndercurls = 0 "{{{ Mappings +" use esc in :term as well +tnoremap + +" move between windows in :term +tnoremap h +tnoremap j +tnoremap k +tnoremap l + " call CreatePaper on word below cursor -nnoremap cp :call CreatePaper(expand('')) +nnoremap np gewi[[/papers/Ea]]bb:call CreatePaper(expand('')) + +" call CreateReference on word below cursor +nnoremap nr :call CreateReference(expand('')) + +" create a new note +nnoremap nn :call CreateNote() " If you like "Y" to work from the cursor to the end of line (which is more " logical, but not Vi-compatible) @@ -446,7 +461,10 @@ let g:startify_custom_header = "{{{ vimwiki let g:vimwiki_list = [{'path': '/home/yigit/Nextcloud/personal_wiki', \ 'path_html': '/home/yigit/Nextcloud/personal_wiki_html', - \ 'css_name': 'tufte.css', + \ 'auto_diary_index': 1, + \ 'auto_generate_links': 1, + \ 'auto_generate_tags': 1, + \ 'automatic_nested_syntaxes': 1, \ 'template_path': '/home/yigit/Nextcloud/personal_wiki/', \ 'template_default': 'default_template', \ 'template_ext': '.html', -- cgit v1.2.3-70-g09d2