summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnvim/.config/nvim/init.vim18
-rwxr-xr-xzsh/.zshrc1
2 files changed, 10 insertions, 9 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index 2d40555..244ec04 100755
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -22,7 +22,7 @@ call plug#end()
22set guicursor= 22set guicursor=
23set number relativenumber 23set number relativenumber
24set mouse=a 24set mouse=a
25"set background=dark 25set background=dark
26syntax enable 26syntax enable
27set cursorline 27set cursorline
28set ignorecase 28set ignorecase
@@ -42,14 +42,14 @@ colorscheme pencil
42"hi LineNr ctermbg=16 guibg=#000000 42"hi LineNr ctermbg=16 guibg=#000000
43 43
44" Change background based on macos theme 44" Change background based on macos theme
45let output = system("defaults read -g AppleInterfaceStyle") 45" let output = system("defaults read -g AppleInterfaceStyle")
46if v:shell_error != 0 46" if v:shell_error != 0
47 set background=light 47" set background=light
48 colorscheme plain 48" colorscheme plain
49else 49" else
50 set background=dark 50" set background=dark
51 colorscheme pencil 51" colorscheme pencil
52endif 52" endif
53 53
54let mapleader=" " 54let mapleader=" "
55 55
diff --git a/zsh/.zshrc b/zsh/.zshrc
index a694066..22be085 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -6,6 +6,7 @@ setopt appendhistory hist_ignore_all_dups hist_ignore_space
6 6
7#exports 7#exports
8export VISUAL=nvim 8export VISUAL=nvim
9export VIMRC="$HOME/.config/nvim/init.vim"
9export EDITOR="$VISUAL" 10export EDITOR="$VISUAL"
10export PATH=$PATH:$HOME/.bin:$HOME/.local/bin 11export PATH=$PATH:$HOME/.bin:$HOME/.local/bin
11export TERM=rxvt-unicode-256color 12export TERM=rxvt-unicode-256color