keybinds and half_tab autocmds
This commit is contained in:
parent
250ed55ef1
commit
10b16ba24e
@ -15,5 +15,11 @@ if has("autocmd")
|
||||
autocmd!
|
||||
autocmd FileType html,css EmmetInstall
|
||||
augroup END
|
||||
|
||||
augroup half_tab_group
|
||||
autocmd FileType html,css,javascript,json,toml,yaml
|
||||
\ setlocal ts=2 sts=2 sw=2 expandtab
|
||||
augroup END
|
||||
|
||||
endif
|
||||
"}}}
|
||||
|
||||
@ -23,6 +23,7 @@ nnoremap <leader>rcf :vsplit ~/.vim/functions.vim<CR>
|
||||
nnoremap <leader>rcc :vsplit ~/.vim/commands.vim<CR>
|
||||
nnoremap <leader>rck :vsplit ~/.vim/keybinds.vim<CR>
|
||||
nnoremap <leader>rcp :vsplit ~/.vim/plugins.vim<CR>
|
||||
nnoremap <leader>rca :vsplit ~/.vim/autocmds.vim<CR>
|
||||
nnoremap <leader>rcft :vsplit $HOME/.vim/after/ftplugin/<CR>
|
||||
nnoremap <leader>rcl :vsplit ~/.config/vimrc<CR>
|
||||
nnoremap <leader>so :source $MYVIMRC<CR>
|
||||
|
||||
@ -155,6 +155,7 @@ nnoremap <leader>f :Files<CR>
|
||||
nnoremap <leader>b :Buffers<CR>
|
||||
nnoremap <leader>h :Helptags<CR>
|
||||
nnoremap <leader>m :Maps<CR>
|
||||
nnoremap <leader>rg :Rg<CR>
|
||||
|
||||
"UltiSnips
|
||||
inoremap <C-S> <ESC> :Snippets<CR>
|
||||
|
||||
@ -52,7 +52,6 @@ set smartcase
|
||||
"cursor behaviour
|
||||
set virtualedit=block
|
||||
set backspace=indent,eol,start
|
||||
set showmatch
|
||||
set scrolloff=2
|
||||
set sidescrolloff=4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user