mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
users/kat/base: tabs tabs tabs tabs tabs tabs
This commit is contained in:
parent
07202b9511
commit
db70b6bb44
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue