cut down unused bits of config.

This commit is contained in:
Grigory Shipunov 2020-09-08 13:15:46 +02:00
parent 01379b0504
commit e3dc1b258b
3 changed files with 3 additions and 40 deletions

View file

@ -1,8 +1,3 @@
# Prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# vi mode # vi mode
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
@ -12,9 +7,6 @@ setw -g mouse on
# fix esc problems in vim # fix esc problems in vim
set -s escape-time 0 set -s escape-time 0
# start numbering at 1
set -g base-index 1
# resize based on smallest connected window, not session # resize based on smallest connected window, not session
setw -g aggressive-resize on setw -g aggressive-resize on

3
.zshrc
View file

@ -36,7 +36,8 @@ alias l="ls -h -l -A"
alias l.="ls -d .*" alias l.="ls -d .*"
# easy edit # easy edit
alias e=$VISUAL alias e=$EDITOR
alias v=$VISUAL
# platform-specific config # platform-specific config
unamestr=$(uname 2> /dev/null) unamestr=$(uname 2> /dev/null)

View file

@ -7,15 +7,8 @@ endif
call plug#begin('~/.local/share/nvim/plugged') call plug#begin('~/.local/share/nvim/plugged')
" Colorschemes
Plug 'morhetz/gruvbox'
" Nifty stuff " Nifty stuff
Plug 'scrooloose/nerdcommenter'
Plug 'tpope/vim-surround'
Plug 'jamessan/vim-gnupg' Plug 'jamessan/vim-gnupg'
Plug 'lambdalisue/suda.vim'
Plug 'junegunn/vim-easy-align'
" Some config/whitespace automation " Some config/whitespace automation
Plug 'dpc/vim-smarttabs' Plug 'dpc/vim-smarttabs'
@ -23,7 +16,6 @@ Plug 'tpope/vim-sleuth'
" Interface " Interface
Plug 'ntpeters/vim-better-whitespace' Plug 'ntpeters/vim-better-whitespace'
Plug 'majutsushi/tagbar'
Plug 'Yggdroot/indentLine' Plug 'Yggdroot/indentLine'
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
Plug 'junegunn/goyo.vim', {'on': 'Goyo'} Plug 'junegunn/goyo.vim', {'on': 'Goyo'}
@ -31,7 +23,6 @@ Plug 'mbbill/undotree', {'on': 'UndotreeToggle'}
Plug 'tpope/vim-vinegar' Plug 'tpope/vim-vinegar'
" Git " Git
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
"Better syntax "Better syntax
@ -54,26 +45,9 @@ let g:tex_conceal = ''
let mapleader = "\<Space>" let mapleader = "\<Space>"
let maplocalleader = "\\" 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 line numbering
set number set number
" add 80th column hightlight
set colorcolumn=80
" use arrows for visual line navigation " use arrows for visual line navigation
imap <up> <C-O>gk imap <up> <C-O>gk
imap <down> <C-O>gj imap <down> <C-O>gj
@ -132,15 +106,11 @@ let g:linuxsty_patterns = ["/usr/src", "/linux", "~/git/linux", "~/devel/linux"]
" markdown " markdown
let g:markdown_folding = 1 let g:markdown_folding = 1
let g:markdown_syntax_conceal = 0 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 " disable modelines
set nomodeline set nomodeline
" easy align
nmap <leader>a <Plug>(EasyAlign)
xmap <leader>a <Plug>(EasyAlign)
" change tab completion to more bash-like " change tab completion to more bash-like
set wildmode=longest:full,list:full set wildmode=longest:full,list:full