summaryrefslogtreecommitdiffstats
path: root/lass/2configs/vim.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-11-28 20:28:35 +0100
committermakefu <github@syntax-fehler.de>2017-11-28 20:28:35 +0100
commit7180f25b35b0cd5f853356ba635c5b8366c4da63 (patch)
tree43eb31e59e8f7718214cd8746e15d3914cdc6678 /lass/2configs/vim.nix
parent65825bd5ce47504ec9596c0f951eb752999e75f4 (diff)
parent635543efe237e79202cc95db6f303699cadd0c85 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/vim.nix')
-rw-r--r--lass/2configs/vim.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix
index 698344b09..f6c736fbc 100644
--- a/lass/2configs/vim.nix
+++ b/lass/2configs/vim.nix
@@ -98,8 +98,13 @@ let
noremap <esc>[c <nop> | noremap! <esc>[c <nop>
noremap <esc>[d <nop> | noremap! <esc>[d <nop>
+ " search with ack
let g:ackprg = 'ag --vimgrep'
cnoreabbrev Ack Ack!
+
+ " copy/paste from/to xclipboard
+ noremap x "_x
+ set clipboard=unnamedplus
'';
extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [