Added C auto-indent command

+ <F6> shortcut to auto-indent
+ <C-l> shortcut to clear highlight
+ tex parameters
This commit is contained in:
Steins7 2019-11-15 13:50:30 +01:00
parent 365197c881
commit 87dccda6ef
3 changed files with 4 additions and 0 deletions

View File

@ -1 +1,2 @@
set colorcolumn=80 set colorcolumn=80
set cino=N-s

1
ftplugin/tex.vim Normal file
View File

@ -0,0 +1 @@
set colorcolumn=80

2
vimrc
View File

@ -41,6 +41,8 @@ nmap <silent> <S-A-Up> :wincmd k<CR>
nmap <silent> <S-A-Down> :wincmd j<CR> nmap <silent> <S-A-Down> :wincmd j<CR>
nmap <silent> <S-A-Left> :wincmd h<CR> nmap <silent> <S-A-Left> :wincmd h<CR>
nmap <silent> <S-A-Right> :wincmd l<CR> nmap <silent> <S-A-Right> :wincmd l<CR>
nmap <silent> <C-l> :noh<CR>
nmap <silent> <F6> gg=G<C-o><C-o><CR>
"escape sequence "escape sequence
:set timeout timeoutlen=100 :set timeout timeoutlen=100