Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  vimrc
6  vimrc
@@ -8,11 +8,13 @@ syntax enable
8 8
 color jellybeans
9 9
 filetype plugin indent on
10 10
 
  11
+":h last-postion-jump
  12
+:au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
  13
+
11 14
 set number
12 15
 set showcmd
13 16
 set laststatus=2
14 17
 set cursorline
15  
-set autochdir
16 18
 set clipboard=unnamed
17 19
 set backupdir=~/.vim/backup
18 20
 set directory=~/.vim/swap
@@ -43,6 +45,8 @@ nnoremap <c-k> <c-w>k
43 45
 nnoremap <c-h> <c-w>h
44 46
 nnoremap <c-l> <c-w>l
45 47
 inoremap jk <Esc>
  48
+cnoremap %% <c-r>=expand('%:h').'/'<cr>
  49
+map <leader>e :e %%
46 50
 
47 51
 " Remap the tab key to do autocompletion or indentation depending on the
48 52
 " context

No commit comments for this range

Something went wrong with that request. Please try again.