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
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

3
.zshrc
View file

@ -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)

View file

@ -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 = "\<Space>"
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 <up> <C-O>gk
imap <down> <C-O>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 <leader>a <Plug>(EasyAlign)
xmap <leader>a <Plug>(EasyAlign)
" change tab completion to more bash-like
set wildmode=longest:full,list:full