VIM: Current state
This commit is contained in:
parent
4cbc91111e
commit
33df9d45e6
@ -26,5 +26,6 @@
|
||||
"ltex.languageToolHttpServerUri": "http://localhost:8081/",
|
||||
"coc.source.vimtex.filetypes": [
|
||||
"tex"
|
||||
]
|
||||
],
|
||||
"snippets.ultisnips.pythonPrompt": false
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ vno <down> <NOP>
|
||||
vno <left> <NOP>
|
||||
vno <right> <NOP>
|
||||
|
||||
|
||||
" Misc Keybindings
|
||||
let mapleader = ","
|
||||
|
||||
@ -46,8 +47,8 @@ nmap <silent> <S-P> <Plug>yankstack_substitute_newer_paste
|
||||
nmap <silent> <C-P> <Plug>yankstack_substitute_older_paste
|
||||
|
||||
" CTRL + Space = Autocomplete
|
||||
inoremap <C-space> <C-N>
|
||||
imap <C-@> <C-Space>
|
||||
" inoremap <C-space> <C-N>
|
||||
" imap <C-@> <C-Space>
|
||||
|
||||
cmap w!! w !sudo tee > /dev/null %
|
||||
|
||||
|
@ -120,7 +120,9 @@ function! s:check_back_space() abort
|
||||
endfunction
|
||||
|
||||
" Use <c-space> to trigger completion.
|
||||
inoremap <silent><expr> <c-space> coc#refresh()
|
||||
inoremap <silent><expr> <c-space>
|
||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
||||
\ coc#refresh()
|
||||
|
||||
" Use <cr> to confirm completion, `<C-g>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
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user