From 7191312010c755e435b5b99efa203c94a975334a Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 18 Dec 2023 15:01:44 +0100 Subject: [PATCH] Add minimalistic vimrc for later --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..96f9688 --- /dev/null +++ b/.vimrc @@ -0,0 +1,4 @@ +vmap :`>amx`my'xk$v'y!xclip -selection cu +map :set pasteik:.!xclip -oJxkJx:set nopaste +" Reopen the last edited position in files +au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif