Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Adding back suffixesadd + date insertion shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopch committed Nov 1, 2012
1 parent a253a86 commit 5f849a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vimrc
Expand Up @@ -253,6 +253,9 @@ command B call PasteFromClipboard()
autocmd FileType markdown TextMode
autocmd FileType pandoc TextMode
let g:pandoc_no_folding = 1
" Allow these file extensions to be accessed via 'gf' of only the name, for
" e.g. gf on [[AnotherPage]] should go to AnotherPage.pd
set suffixesadd=.pd,.txt

if has('python') " Assumes Python >= 2.6

Expand Down Expand Up @@ -331,6 +334,9 @@ noremap <D-k> :tabn<CR>
" Shortcut for moving between windows
nnoremap <c-j> :wincmd w<CR>
" Shortcut to insert date
inoremap <F5> <C-R>=strftime("%a, %d %b %Y")<CR>
" http://items.sjbach.com/319/configuring-vim-right
" Marks
nnoremap ' `
Expand Down

0 comments on commit 5f849a8

Please sign in to comment.