users/kat/base: tabs tabs tabs tabs tabs tabs

This commit is contained in:
kat witch 2021-05-19 13:34:45 +01:00
parent 07202b9511
commit db70b6bb44
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -56,6 +56,9 @@
set relativenumber set relativenumber
set completeopt=longest,menuone set completeopt=longest,menuone
command Spaces set expandtab
command Tabs set noexpandtab
inoremap <silent><expr> <TAB> inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" : \ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" : \ <SID>check_back_space() ? "\<TAB>" :
@ -76,7 +79,7 @@
" Make <CR> auto-select the first completion item and notify coc.nvim to " Make <CR> auto-select the first completion item and notify coc.nvim to
" format on enter, <cr> could be remapped by other vim plugin " format on enter, <cr> could be remapped by other vim plugin
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() noremap <silent><expr> <C-cr> pumvisible() ? coc#_select_confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>" \: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
" Use `[g` and `]g` to navigate diagnostics " Use `[g` and `]g` to navigate diagnostics