aboutsummaryrefslogtreecommitdiff
path: root/Editor/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/vimrc')
-rw-r--r--Editor/vimrc13
1 files changed, 12 insertions, 1 deletions
diff --git a/Editor/vimrc b/Editor/vimrc
index 7f602a7..859cd1d 100644
--- a/Editor/vimrc
+++ b/Editor/vimrc
@@ -85,7 +85,6 @@ nnoremap k gk
"set leader to comma
let mapleader = ","
-
"Math with qalc
nnoremap <leader>m :.!~/bin/calc<Enter>
nnoremap <leader>i :read !latestimage<Enter>
@@ -94,6 +93,15 @@ nnoremap <leader>v :!open '<cfile>'<CR>
"read spaces in path's
set isfname+=32
+"Set tab to two spaces
+set expandtab
+set shiftwidth=2
+set softtabstop=2
+
+
+let g:ycm_confirm_extra_conf = 1
+
+
"Make tab into another escape
"nnoremap <Tab> <Esc>
"vnoremap <Tab> <Esc>gV
@@ -108,6 +116,9 @@ set clipboard^=unnamed
" don't clobber up the directory with dot undo file
set undodir=~/.vim/undodir//
+"disable mouse
+set mouse=
+
"Open new file
nnoremap <Leader>o :CtrlP<CR>