„.vimrc“ hinzufügen
This commit is contained in:
39
.vimrc
Normal file
39
.vimrc
Normal file
@@ -0,0 +1,39 @@
|
||||
colorscheme default
|
||||
set background=dark
|
||||
|
||||
" use spaces rather then tabs, with a width of 2
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
set expandtab
|
||||
|
||||
" Auto indent after a {
|
||||
set autoindent
|
||||
set smartindent
|
||||
|
||||
" Linewidth to endless
|
||||
set textwidth=0
|
||||
|
||||
set ignorecase " caseinsensitive searches-
|
||||
set showmode " always show command or insert mode-
|
||||
set ruler " show line and column information-
|
||||
set showmatch " show matching brackets
|
||||
set formatoptions=tcqor
|
||||
set whichwrap=b,s,<,>,[,] " cursors will now wrap
|
||||
|
||||
" {{{ tabbing config
|
||||
|
||||
" ctrl-w+n creates a new split, so I've mapped ctrl-w+t+n to create a new tab, and ctrl-w+t+t to move to the next tab
|
||||
noremap <C-W>tn :tabnew<CR>
|
||||
noremap <C-W>tt :tabnext<CR>
|
||||
|
||||
" very few schemes have tab highlighting in yet, so lets set this outselves...
|
||||
hi TabLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
|
||||
hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
|
||||
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
|
||||
|
||||
" always show the tabline...
|
||||
set showtabline=2
|
||||
|
||||
" }}} tabbing config
|
||||
|
||||
syntax on
|
||||
Reference in New Issue
Block a user