diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-11-05 22:39:35 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-11-05 22:39:35 +0100 |
commit | 0d64cda7bf95ef8639ff4fadba65237db43abefa (patch) | |
tree | 63936b64b2841efa534cc201e33f724d8c266f24 | |
parent | 93c4abc7b6cb812b0d34ff941434657c0c783d45 (diff) | |
download | notyet-0d64cda7bf95ef8639ff4fadba65237db43abefa.tar.gz notyet-0d64cda7bf95ef8639ff4fadba65237db43abefa.tar.xz notyet-0d64cda7bf95ef8639ff4fadba65237db43abefa.zip |
vim: set <CR> and <TAB> buffer local
-rwxr-xr-x | notyet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notyet b/notyet index 8078524..aaa6ed7 100755 --- a/notyet +++ b/notyet @@ -240,8 +240,8 @@ if $edit && STDOUT.tty? rd, wr = IO.pipe $stdout = wr Process.spawn('vim', - '+nmap <CR> ^gF', - '+nmap <TAB> <CR>', + '+nmap <buffer><CR> ^gF', + '+nmap <buffer><TAB> <CR>', '+setl nomod noma nowrap conceallevel=3 concealcursor=nc', '+syn match Conceal /^.\{-}\t/ conceal', '+syn match Comment /\t\s*[xX].*/lc=1', |