mirror of https://github.com/bjeanes/dotfiles.git
misc
parent
65624cf0a4
commit
cb2497233c
|
@ -133,6 +133,7 @@ call vundle#rc()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
Bundle 'scrooloose/nerdcommenter'
|
Bundle 'scrooloose/nerdcommenter'
|
||||||
|
let NERDCreateDefaultMappings = 0
|
||||||
let NERDSpaceDelims = 1 " space between comment and code
|
let NERDSpaceDelims = 1 " space between comment and code
|
||||||
map // <plug>NERDCommenterToggle
|
map // <plug>NERDCommenterToggle
|
||||||
vmap // <plug>NERDCommenterToggle gv
|
vmap // <plug>NERDCommenterToggle gv
|
||||||
|
|
|
@ -31,7 +31,7 @@ syntax on
|
||||||
let mapleader = ','
|
let mapleader = ','
|
||||||
set autoread " watch for file changes
|
set autoread " watch for file changes
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set ttymouse=xterm " Needed to get mouse working when in Tmux/screen
|
set ttymouse=xterm2 " Needed to get mouse working when in Tmux/screen
|
||||||
set fileformats=unix
|
set fileformats=unix
|
||||||
set history=1000
|
set history=1000
|
||||||
set hidden
|
set hidden
|
||||||
|
@ -126,6 +126,9 @@ syntax on
|
||||||
" For when other people use my setup
|
" For when other people use my setup
|
||||||
nmap \ <Leader>
|
nmap \ <Leader>
|
||||||
|
|
||||||
|
" Easier
|
||||||
|
nnoremap ; :
|
||||||
|
|
||||||
" OS X clipboard when yanking/pasting
|
" OS X clipboard when yanking/pasting
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue