diff --git a/vim/coc-settings.json b/vim/coc-settings.json index 76c84d0..561e953 100644 --- a/vim/coc-settings.json +++ b/vim/coc-settings.json @@ -26,5 +26,6 @@ "ltex.languageToolHttpServerUri": "http://localhost:8081/", "coc.source.vimtex.filetypes": [ "tex" - ] + ], + "snippets.ultisnips.pythonPrompt": false } diff --git a/vim/config/keybindings.vim b/vim/config/keybindings.vim index e036b9b..0aee412 100644 --- a/vim/config/keybindings.vim +++ b/vim/config/keybindings.vim @@ -12,6 +12,7 @@ vno vno vno + " Misc Keybindings let mapleader = "," @@ -46,8 +47,8 @@ nmap yankstack_substitute_newer_paste nmap yankstack_substitute_older_paste " CTRL + Space = Autocomplete -inoremap -imap +" inoremap +" imap cmap w!! w !sudo tee > /dev/null % diff --git a/vim/config/pluginconfig.vim b/vim/config/pluginconfig.vim index 58732f0..4f6f276 100644 --- a/vim/config/pluginconfig.vim +++ b/vim/config/pluginconfig.vim @@ -120,7 +120,9 @@ function! s:check_back_space() abort endfunction " Use to trigger completion. -inoremap coc#refresh() +inoremap + \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : + \ coc#refresh() " Use to confirm completion, `u` means break undo chain at current position. " Coc only does snippet and additional edit on confirm. @@ -280,3 +282,12 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_ " Vim-markdown let g:vim_markdown_conceal = 0 + +lua << EOF + require("todo-comments").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } +EOF + diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 9547d0b..5d12e0f 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -71,7 +71,7 @@ Plug 'Vimjas/vim-python-pep8-indent' Plug 'vim-scripts/javacomplete' Plug 'udalov/kotlin-vim' Plug 'xuhdev/vim-latex-live-preview' -Plug 'pearofducks/ansible-vim' +" Plug 'pearofducks/ansible-vim' Plug 'justinmk/vim-syntax-extra' " Rust @@ -107,6 +107,8 @@ Plug 'github/copilot.vim' Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.3.0' } Plug 'johann2357/nvim-smartbufs' +Plug 'nvim-lua/plenary.nvim' +Plug 'folke/todo-comments.nvim' call plug#end()