vimrc: Remove smarttab setting
This commit is contained in:
parent
f1c6dceb42
commit
bec5fb2084
1 changed files with 3 additions and 10 deletions
13
.vimrc
13
.vimrc
|
|
@ -15,7 +15,6 @@ set smartcase
|
||||||
" Indentation options (yeah let's switch to spaces instead of tabs I guess...)
|
" Indentation options (yeah let's switch to spaces instead of tabs I guess...)
|
||||||
set autoindent
|
set autoindent
|
||||||
set expandtab
|
set expandtab
|
||||||
set smarttab
|
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
|
@ -27,14 +26,8 @@ filetype plugin on
|
||||||
autocmd BufNewFile,BufRead *.gitconfig set syntax=gitconfig
|
autocmd BufNewFile,BufRead *.gitconfig set syntax=gitconfig
|
||||||
autocmd BufNewFile,BufRead *.rasi set syntax=scss
|
autocmd BufNewFile,BufRead *.rasi set syntax=scss
|
||||||
|
|
||||||
" Indentation for Python (use 4 spaces)
|
" Indentation for YAML (use 2 spaces)
|
||||||
"autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4
|
autocmd FileType yml,yaml setlocal sts=2 sw=2
|
||||||
autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab
|
|
||||||
|
|
||||||
" Indentation (don't remove tabs from empty lines)
|
|
||||||
"inoremap <CR> <CR>x<BS>
|
|
||||||
"nnoremap o ox<BS>
|
|
||||||
"nnoremap O Ox<BS>
|
|
||||||
|
|
||||||
" Mouse settings
|
" Mouse settings
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
@ -142,7 +135,7 @@ inoremap <A-l> <C-o>l
|
||||||
" Unindent with Shift-Tab
|
" Unindent with Shift-Tab
|
||||||
inoremap <S-Tab> <C-o><<
|
inoremap <S-Tab> <C-o><<
|
||||||
|
|
||||||
" Copy and to X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode)
|
" Copy to and paste from X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode)
|
||||||
vmap <C-C> "+y
|
vmap <C-C> "+y
|
||||||
imap <C-V> <C-\><C-O>"+P
|
imap <C-V> <C-\><C-O>"+P
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue