From adfb4b481ccd9fad8936f20ca7b197d67f311d45 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Wed, 18 Nov 2020 17:18:43 +0530 Subject: added vimtex --- bin/.local/bin/gitit | 2 +- nvim/.config/nvim/init.vim | 4 ++++ x/.Xresources | 7 +++++-- 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 @@ #!/bin/sh set -e -printf "\033[0;32mDeploying updates to GitHub...\033[0m\n" +printf "\033[0;32mDeploying updates to server...\033[0m\n" git add . msg="changes" 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' Plug 'godlygeek/tabular' Plug 'plasticboy/vim-markdown' Plug 'vuciv/vim-bujo' +Plug 'lervag/vimtex' call plug#end() " sets @@ -82,6 +83,9 @@ let g:vim_markdown_yaml_frontmatter=1 let g:vim_markdown_folding_disabled=1 let g:vim_markdown_conceal=0 +" vimtex +let g:tex_flavor = 'latex' + " insert centered autocmd InsertEnter * norm zz 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 URxvt.intensityStyles : false -URxvt.perl-ext-common : default,matcher,font-size -URxvt.font-size.step: 1 +URxvt.perl-ext-common : default,matcher,font-size,keyboard-select +URxvt.keysym.M-Escape : perl:keyboard-select:activate +URxvt.keysym.M-s : perl:keyboard-select:search +URxvt.keyboard-select.clipboard: true +URxvt.font-size.step : 1 URxvt.url-launcher : chromium URxvt.matcher.button : 1 diff --git a/zsh/.zshrc b/zsh/.zshrc index 6892476..1be15dc 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -7,7 +7,7 @@ setopt appendhistory hist_ignore_all_dups hist_ignore_space #exports export VISUAL=nvim export EDITOR="$VISUAL" -export BROWSER=brave +export BROWSER=chromium export PATH=$PATH:$HOME/.local/bin:$HOME/bin export TERM=rxvt-unicode-256color export XDG_CURRENT_DESKTOP=bspwm -- cgit v1.2.3