-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
executable file
·33 lines (29 loc) · 895 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set t_Co=256
syntax on
colorscheme wombat
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
map <leader>v :new ~/.vimrc<Return>
map <leader>P Oimport pdb;pdb.set_trace()<Esc>
map <leader>p oimport pdb;pdb.set_trace()<Esc>
nmap <silent> <C-n> :NERDTreeToggle<CR>
if has("autocmd")
filetype on
filetype plugin indent on
autocmd BufWritePost .vimrc source $MYVIMRC
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" |endif
endif
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
set laststatus=2
set title
set expandtab
set number
set mouse=a
set runtimepath+=$HOME/.vim/bundle/The-NERD-Tree
runtime bundle/The-NERD-Tree/plugin/The-NERD-Tree.vim