Created
May 19, 2015 12:08
-
-
Save ponceta/9c22efcc115adaf0379c to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mapleader="," | |
syntax on | |
set bs=2 | |
set background=dark | |
set number | |
"tabs as x spaces and smart indent | |
set smartindent | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set smarttab | |
set textwidth=82 | |
"searching | |
set hlsearch | |
set incsearch | |
"show commands | |
set showcmd | |
"brackets | |
set showmatch | |
set mat=2 | |
"toggle nerdtree | |
nmap <F5> :NERDTreeToggle<CR> | |
"toggle line numbers | |
nmap <F6> :set invnumber<CR> | |
"grep name under cursor | |
nnoremap <silent> <F7> :Rgrep<CR> | |
"toogle nopaste | |
set pastetoggle=<F8> | |
"jslint stuff | |
nmap <F12> :w<CR>:make<CR>:cope<CR> | |
"disable ex mode | |
map Q <Nop> | |
filetype plugin on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment