Skip to content

Commit

Permalink
Merge pull request #90 from skrobul/fix-renaming-in-full-windows
Browse files Browse the repository at this point in the history
bugfix: renaming from title if note opened in full window
  • Loading branch information
fmoralesc committed Feb 27, 2017
2 parents a9a4293 + 53ef130 commit a4762fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/pad-notes/base.vim
Expand Up @@ -10,7 +10,7 @@ if has("python") || has("python3")
let b:python = "python3"
endif
exe b:python . " import pad.pad"
au! BufLeave <buffer> exe b:python . " pad.pad.update()"
au! BufLeave,BufUnload <buffer> exe b:python . " pad.pad.update()"
noremap <silent> <buffer> <localleader>+m :exe b:python . " pad.pad.add_modeline()"<cr>
noremap <silent> <buffer> <localleader>+f :exe b:python . " pad.pad.move_to_folder()"<cr>
noremap <silent> <buffer> <localleader>-f :exe b:python . " pad.pad.move_to_savedir()"<cr>
Expand Down

0 comments on commit a4762fb

Please sign in to comment.