diff options
author | tv <tv@krebsco.de> | 2015-11-01 13:22:43 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-11-01 13:22:43 +0100 |
commit | 7033d7b944668efa806371a172410dbfc3430cdb (patch) | |
tree | e68f91745164b6bcca04bdbd5f25a03794c91ba6 /tv/2configs/vim.nix | |
parent | 78b2bbba6d4f04c7950cf01cb3fa51420ef34d44 (diff) |
tv vim: no backup & co for /dev/shm/*
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r-- | tv/2configs/vim.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 2e49a0c..7eb2eb1 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -132,6 +132,8 @@ let syn match Comment /\s#.*/ ''} + au BufRead,BufNewFile /dev/shm/* set nobackup nowritebackup noswapfile + nmap <esc>q :buffer nmap <M-q> :buffer |