summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit <mohit.agarwal@sky.com>2024-10-30 12:10:08 +0000
committerMohit <mohit.agarwal@sky.com>2024-10-30 12:10:08 +0000
commit6b791113d9e5041553c61a09e16b9fe9e86a4824 (patch)
treeb1ea85632e131a733ae187b942553d21b52bc2e7
parentb20dd790c25479a31809c5a1b9355f792bb0262b (diff)
Comma as leader + error handling for colorscheme
-rwxr-xr-xinit.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.vim b/init.vim
index bd5ad71..3b575cb 100755
--- a/init.vim
+++ b/init.vim
@@ -4,6 +4,8 @@ autocmd BufReadPost *
\ exe "normal! g`\"" |
\ endif
+let mapleader = ","
+
if expand('%:t') =~ '*ms'
set filetype=nroff
endif
@@ -148,4 +150,8 @@ set number
set cursorline
set modeline
-colorscheme vim
+try
+ colorscheme vim
+catch
+ colorscheme default
+endtry