diff options
author | Shubham Saini <pryr@pryr.xyz> | 2020-11-18 11:48:43 +0000 |
---|---|---|
committer | Shubham Saini <pryr@pryr.xyz> | 2020-11-18 11:48:43 +0000 |
commit | adfb4b481ccd9fad8936f20ca7b197d67f311d45 (patch) | |
tree | 0929bd56cff6812aae97d1d8699505571924a5be | |
parent | 52424ac4a7bda7059dc020e58d2547979abbcd0e (diff) |
added vimtex
-rwxr-xr-x | bin/.local/bin/gitit | 2 | ||||
-rwxr-xr-x | nvim/.config/nvim/init.vim | 4 | ||||
-rwxr-xr-x | x/.Xresources | 7 | ||||
-rwxr-xr-x | zsh/.zshrc | 2 |
4 files changed, 11 insertions, 4 deletions
diff --git a/bin/.local/bin/gitit b/bin/.local/bin/gitit index af3eeec..5d576c2 100755 --- a/bin/.local/bin/gitit +++ b/bin/.local/bin/gitit | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | set -e | 2 | set -e |
3 | printf "\033[0;32mDeploying updates to GitHub...\033[0m\n" | 3 | printf "\033[0;32mDeploying updates to server...\033[0m\n" |
4 | git add . | 4 | git add . |
5 | msg="changes" | 5 | msg="changes" |
6 | if [ -n "$*" ]; then | 6 | if [ -n "$*" ]; then |
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 77f58a6..71e4054 100755 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim | |||
@@ -11,6 +11,7 @@ Plug 'airblade/vim-gitgutter' | |||
11 | Plug 'godlygeek/tabular' | 11 | Plug 'godlygeek/tabular' |
12 | Plug 'plasticboy/vim-markdown' | 12 | Plug 'plasticboy/vim-markdown' |
13 | Plug 'vuciv/vim-bujo' | 13 | Plug 'vuciv/vim-bujo' |
14 | Plug 'lervag/vimtex' | ||
14 | call plug#end() | 15 | call plug#end() |
15 | 16 | ||
16 | " sets | 17 | " sets |
@@ -82,6 +83,9 @@ let g:vim_markdown_yaml_frontmatter=1 | |||
82 | let g:vim_markdown_folding_disabled=1 | 83 | let g:vim_markdown_folding_disabled=1 |
83 | let g:vim_markdown_conceal=0 | 84 | let g:vim_markdown_conceal=0 |
84 | 85 | ||
86 | " vimtex | ||
87 | let g:tex_flavor = 'latex' | ||
88 | |||
85 | " insert centered | 89 | " insert centered |
86 | autocmd InsertEnter * norm zz | 90 | autocmd InsertEnter * norm zz |
87 | 91 | ||
diff --git a/x/.Xresources b/x/.Xresources index b8ef8d7..835e93d 100755 --- a/x/.Xresources +++ b/x/.Xresources | |||
@@ -64,8 +64,11 @@ URxvt.titleBar : false | |||
64 | URxvt.intensityStyles : false | 64 | URxvt.intensityStyles : false |
65 | 65 | ||
66 | 66 | ||
67 | URxvt.perl-ext-common : default,matcher,font-size | 67 | URxvt.perl-ext-common : default,matcher,font-size,keyboard-select |
68 | URxvt.font-size.step: 1 | 68 | URxvt.keysym.M-Escape : perl:keyboard-select:activate |
69 | URxvt.keysym.M-s : perl:keyboard-select:search | ||
70 | URxvt.keyboard-select.clipboard: true | ||
71 | URxvt.font-size.step : 1 | ||
69 | URxvt.url-launcher : chromium | 72 | URxvt.url-launcher : chromium |
70 | URxvt.matcher.button : 1 | 73 | URxvt.matcher.button : 1 |
71 | 74 | ||
@@ -7,7 +7,7 @@ setopt appendhistory hist_ignore_all_dups hist_ignore_space | |||
7 | #exports | 7 | #exports |
8 | export VISUAL=nvim | 8 | export VISUAL=nvim |
9 | export EDITOR="$VISUAL" | 9 | export EDITOR="$VISUAL" |
10 | export BROWSER=brave | 10 | export BROWSER=chromium |
11 | export PATH=$PATH:$HOME/.local/bin:$HOME/bin | 11 | export PATH=$PATH:$HOME/.local/bin:$HOME/bin |
12 | export TERM=rxvt-unicode-256color | 12 | export TERM=rxvt-unicode-256color |
13 | export XDG_CURRENT_DESKTOP=bspwm | 13 | export XDG_CURRENT_DESKTOP=bspwm |