aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-08-28 15:25:10 +0100
committerMatthew Lemon <y@yulqen.org>2023-08-28 15:25:10 +0100
commit2ee71e7cbe7ec1aafb2b4d6b373e62a4ba59d0f3 (patch)
treea53db5a4aaf9d5455c5199b796336536e55e2345 /vim
parent9ca2b9a1bf1b6d73cdb1713cb75873f96481f549 (diff)
Adds settings to allow us to use a vimrc file in project directory
Diffstat (limited to '')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d39f406..d8540ae 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -6,6 +6,12 @@ syntax on
let maplocalleader = "\\"
let mapleader = ","
+
+" related to https://oleksii.shmalko.com/2014/using-vim-as-c-cpp-ide/
+" to enable putting a config file in the proejct directory
+set exrc
+set secure
+
set nocompatible
set scrolloff=1
set history=799