diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 17:36:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 17:37:05 +1200 |
commit | e7aa501119290cef72beef60a14fe0f5b4cdfcf2 (patch) | |
tree | bd0bfd853c3061c6b1c258463bb3aa2b4ec67e79 /vim/vimrc | |
parent | Merge branch 'release/v1.16.0' into develop (diff) | |
download | dotfiles-e7aa501119290cef72beef60a14fe0f5b4cdfcf2.tar.gz dotfiles-e7aa501119290cef72beef60a14fe0f5b4cdfcf2.zip |
Map \e in Vim to force a buffer to be editable
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -225,6 +225,8 @@ nnoremap <Bslash>C :<C-U>set cursorcolumn! cursorcolumn?<CR> nnoremap <Bslash>d :read !date<CR> " \D inserts the UTC date (POSIX date) nnoremap <Bslash>D :read !date -u<CR> +" \e forces a buffer to be editable +nnoremap <Bslash>e :set modifiable noreadonly<CR> " \f shows the current 'formatoptions' at a glance nnoremap <Bslash>f :<C-U>set formatoptions?<CR> " \g changes directory to the current file's location |