From edf02c9319d4fe68205159357052282477b025ea Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 31 Jan 2013 23:26:53 +0100 Subject: [PATCH] no (bugged) smartindent, add leaders along with F-keys --- .vimrc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.vimrc b/.vimrc index 7bcef1f..07420d6 100644 --- a/.vimrc +++ b/.vimrc @@ -18,16 +18,11 @@ set textwidth=120 set wrap " auto wrap line view, but not text itself filetype indent on " activates indenting for files -set autoindent " automatic indentation -set smartindent set softtabstop=4 " width of a tab set tabstop=4 set shiftwidth=4 " width of the indentation set expandtab -" don't un-indent hashes at the BOL -inoremap # # - set ignorecase " case-insentive search by default set smartcase " search case-sensitive if there is an upper-case letter set gdefault " when replacing, use /g by default @@ -54,7 +49,7 @@ set colorcolumn=80,120 " highligth the 80th and 120th column " No need to prefix them with "* or "+ set clipboard=unnamed -" New split plaed below +" New split placed below set splitbelow " New vsplit placed right set splitright @@ -219,9 +214,11 @@ map TaskList " side pane of class and functions "map :TlistToggle nmap :TagbarToggle +nnoremap b :TagbarToggle " side pane of files map :NERDTreeToggle +nnoremap t :NERDTreeToggle " configure tags - add additional tags here or comment out not-used ones set tags+=~/.vim/tags/cpp @@ -250,5 +247,3 @@ set completeopt=menuone,menu,longest,preview :runtime plugins/bclose.vim nmap :bc Kwbd - -