VIM: Current state
This commit is contained in:
parent
4cbc91111e
commit
33df9d45e6
@ -26,5 +26,6 @@
|
|||||||
"ltex.languageToolHttpServerUri": "http://localhost:8081/",
|
"ltex.languageToolHttpServerUri": "http://localhost:8081/",
|
||||||
"coc.source.vimtex.filetypes": [
|
"coc.source.vimtex.filetypes": [
|
||||||
"tex"
|
"tex"
|
||||||
]
|
],
|
||||||
|
"snippets.ultisnips.pythonPrompt": false
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,7 @@ vno <down> <NOP>
|
|||||||
vno <left> <NOP>
|
vno <left> <NOP>
|
||||||
vno <right> <NOP>
|
vno <right> <NOP>
|
||||||
|
|
||||||
|
|
||||||
" Misc Keybindings
|
" Misc Keybindings
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
@ -46,8 +47,8 @@ nmap <silent> <S-P> <Plug>yankstack_substitute_newer_paste
|
|||||||
nmap <silent> <C-P> <Plug>yankstack_substitute_older_paste
|
nmap <silent> <C-P> <Plug>yankstack_substitute_older_paste
|
||||||
|
|
||||||
" CTRL + Space = Autocomplete
|
" CTRL + Space = Autocomplete
|
||||||
inoremap <C-space> <C-N>
|
" inoremap <C-space> <C-N>
|
||||||
imap <C-@> <C-Space>
|
" imap <C-@> <C-Space>
|
||||||
|
|
||||||
cmap w!! w !sudo tee > /dev/null %
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
|
||||||
|
@ -120,7 +120,9 @@ function! s:check_back_space() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Use <c-space> to trigger completion.
|
" 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.
|
" Use <cr> to confirm completion, `<C-g>u` means break undo chain at current position.
|
||||||
" Coc only does snippet and additional edit on confirm.
|
" Coc only does snippet and additional edit on confirm.
|
||||||
@ -280,3 +282,12 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_
|
|||||||
|
|
||||||
" Vim-markdown
|
" Vim-markdown
|
||||||
let g:vim_markdown_conceal = 0
|
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 'vim-scripts/javacomplete'
|
||||||
Plug 'udalov/kotlin-vim'
|
Plug 'udalov/kotlin-vim'
|
||||||
Plug 'xuhdev/vim-latex-live-preview'
|
Plug 'xuhdev/vim-latex-live-preview'
|
||||||
Plug 'pearofducks/ansible-vim'
|
" Plug 'pearofducks/ansible-vim'
|
||||||
Plug 'justinmk/vim-syntax-extra'
|
Plug 'justinmk/vim-syntax-extra'
|
||||||
|
|
||||||
" Rust
|
" Rust
|
||||||
@ -107,6 +107,8 @@ Plug 'github/copilot.vim'
|
|||||||
Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.3.0' }
|
Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.3.0' }
|
||||||
Plug 'johann2357/nvim-smartbufs'
|
Plug 'johann2357/nvim-smartbufs'
|
||||||
|
|
||||||
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
|
Plug 'folke/todo-comments.nvim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user