From e3dc1b258b8f0d1ede1e511b4370c42a8af3309e Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 8 Sep 2020 13:15:46 +0200 Subject: [PATCH] cut down unused bits of config. --- .tmux.conf | 8 -------- .zshrc | 3 ++- config/nvim/init.vim | 32 +------------------------------- 3 files changed, 3 insertions(+), 40 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index ba8e8dd..a982c35 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,8 +1,3 @@ -# Prefix -unbind C-b -set -g prefix C-a -bind C-a send-prefix - # vi mode set-window-option -g mode-keys vi @@ -12,9 +7,6 @@ setw -g mouse on # fix esc problems in vim set -s escape-time 0 -# start numbering at 1 -set -g base-index 1 - # resize based on smallest connected window, not session setw -g aggressive-resize on diff --git a/.zshrc b/.zshrc index e449ee2..33642de 100644 --- a/.zshrc +++ b/.zshrc @@ -36,7 +36,8 @@ alias l="ls -h -l -A" alias l.="ls -d .*" # easy edit -alias e=$VISUAL +alias e=$EDITOR +alias v=$VISUAL # platform-specific config unamestr=$(uname 2> /dev/null) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 4f2de9e..d1c4663 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -7,15 +7,8 @@ endif call plug#begin('~/.local/share/nvim/plugged') -" Colorschemes -Plug 'morhetz/gruvbox' - " Nifty stuff -Plug 'scrooloose/nerdcommenter' -Plug 'tpope/vim-surround' Plug 'jamessan/vim-gnupg' -Plug 'lambdalisue/suda.vim' -Plug 'junegunn/vim-easy-align' " Some config/whitespace automation Plug 'dpc/vim-smarttabs' @@ -23,7 +16,6 @@ Plug 'tpope/vim-sleuth' " Interface Plug 'ntpeters/vim-better-whitespace' -Plug 'majutsushi/tagbar' Plug 'Yggdroot/indentLine' Plug 'kien/ctrlp.vim' Plug 'junegunn/goyo.vim', {'on': 'Goyo'} @@ -31,7 +23,6 @@ Plug 'mbbill/undotree', {'on': 'UndotreeToggle'} Plug 'tpope/vim-vinegar' " Git -Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' "Better syntax @@ -54,26 +45,9 @@ let g:tex_conceal = '' let mapleader = "\" let maplocalleader = "\\" -" theme -if $COLORTERM == 'truecolor' || $COLORTERM == '24bit' - set termguicolors -endif -" all my terminals can handle italic -set t_ZH= -set t_ZR= - -" colorscheme -let g:gruvbox_italic='1' -let g:gruvbox_contrast_dark ='hard' -set background=dark -colorscheme gruvbox - " set line numbering set number -" add 80th column hightlight -set colorcolumn=80 - " use arrows for visual line navigation imap gk imap gj @@ -132,15 +106,11 @@ let g:linuxsty_patterns = ["/usr/src", "/linux", "~/git/linux", "~/devel/linux"] " markdown let g:markdown_folding = 1 let g:markdown_syntax_conceal = 0 -let g:markdown_fenced_languages = ['html', 'python', 'scheme'] +let g:markdown_fenced_languages = ['C', 'html', 'python', 'scheme'] " disable modelines set nomodeline -" easy align -nmap a (EasyAlign) -xmap a (EasyAlign) - " change tab completion to more bash-like set wildmode=longest:full,list:full