Skip to content

Instantly share code, notes, and snippets.

@devshorts
Created March 29, 2015 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devshorts/72adba25b1e2e44c6c4b to your computer and use it in GitHub Desktop.
Save devshorts/72adba25b1e2e44c6c4b to your computer and use it in GitHub Desktop.
vimrc stuff
" nerdtree mapping
map <F3> :NERDTreeToggle<CR>
" enabled mouse
set mouse=a
" enable osx clipboard
set clipboard=unnamed
" reload .vimrc
:nmap <LEADER>s :source $MYVIMRC<cr>
" toggle word wrap
map <F9> :set wrap!<cr>
" toggle set paste
map <F4> :set paste!<cr>
@devshorts
Copy link
Author

Enables clipboard and mouse movement in vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment