summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-08 19:53:26 -0500
committerBen Sima <ben@bsima.me>2021-01-08 19:53:35 -0500
commit4bd0ba3cf57f450f3d3813eba19989bb99bcb036 (patch)
tree4d78fa196611f74afd2be6410f3a26d8c41008fd /lib
parent99b7ea2a85590d5bb497090de09ac6dd15fff6cf (diff)
vim: load local vimrc
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix1
-rw-r--r--lib/vimrc3
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/common.nix b/lib/common.nix
index 4bb4b65..bdf294c 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -210,6 +210,7 @@ in
# vim-ripgrep # not in nixpkgs :(
rainbow_parentheses
vim-plug # just in case
+ vim-addon-local-vimrc
];
extraConfig = builtins.readFile ./vimrc;
};
diff --git a/lib/vimrc b/lib/vimrc
index 076ac95..305d375 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -22,9 +22,6 @@ set textwidth=80 " Line wrap (number of cols)
set visualbell " Use visual bell (no beeping)
set wildmenu " Helpful completion menu
-set exrc
-set secure
-
" Strings to use in 'list' mode and for the :list command
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+