Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Remove not used options

  • Loading branch information...
commit 31e519af7d69850905ea6ceb65eeb698dd99c763 1 parent 7e9d4f7
@lukaszx0 authored
Showing with 3 additions and 31 deletions.
  1. +3 −31 vim/vimrc.symlink
34 vim/vimrc.symlink
@@ -22,6 +22,9 @@ set formatoptions+=n
set textwidth=80
set virtualedit=block
+" provide some context when editing
+set scrolloff=3
" Searching
set hlsearch
set incsearch
@@ -54,15 +57,9 @@ set backspace=indent,eol,start
let mapleader = ","
-" NERDTree configuration
-let NERDTreeIgnore=['\.pyc$', '\.rbc$', '\~$']
" Command-T configuration
let g:CommandTMaxHeight=10
-" Mapping
-map <Leader>n :NERDTreeToggle<CR>
" Opens an edit command with the path of the currently edited file filled in
" Normal mode: <Leader>e
map <Leader>e :e <C-R>=expand("%:p:h") . "/" <CR>
@@ -90,31 +87,6 @@ filetype plugin indent on
" Command mode: Ctrl+P
cmap <C-P> <C-R>=expand("%:p:h") . "/" <CR>
-" Unimpaired configuration
-" Bubble single lines
-nmap <C-Up> [e
-nmap <C-Down> ]e
-" Bubble multiple lines
-vmap <C-Up> [egv
-vmap <C-Down> ]egv
-"Emulate TextMate's indending shortcuts
-nmap <D-[> <<
-nmap <D-]> >>
-vmap <D-[> <gv
-vmap <D-]> >gv
-" sane movement with wrap turned on
-nnoremap j gj
-nnoremap k gk
-vnoremap j gj
-vnoremap k gk
-nnoremap <Down> gj
-nnoremap <Up> gk
-vnoremap <Down> gj
-vnoremap <Up> gk
-inoremap <Down> <C-o>gj
-inoremap <Up> <C-o>gk
if has("gui_running")
" Automatically resize splits when resizing MacVim window

0 comments on commit 31e519a

Please sign in to comment.
Something went wrong with that request. Please try again.