update vimrc
This commit is contained in:
@@ -7,33 +7,25 @@ env:
|
|||||||
# Scroll config
|
# Scroll config
|
||||||
scrolling:
|
scrolling:
|
||||||
# Maximum number of lines in the scrollback buffer.
|
# Maximum number of lines in the scrollback buffer.
|
||||||
history: 10000
|
history: 100000
|
||||||
# Scrolling distance multiplier.
|
# Scrolling distance multiplier.
|
||||||
multiplier: 3
|
multiplier: 3
|
||||||
|
|
||||||
# Corsor config
|
|
||||||
cursor:
|
|
||||||
style:
|
|
||||||
shape: Underline
|
|
||||||
blinking: Always
|
|
||||||
unfocused_hollow: false
|
|
||||||
|
|
||||||
# Font configuration
|
# Font configuration
|
||||||
font:
|
font:
|
||||||
# Normal (roman) font face
|
# Normal (roman) font face
|
||||||
normal:
|
normal:
|
||||||
family: IBM Plex Mono
|
family: "MesloLGS NF"
|
||||||
# family: DejaVu Sans Mono for Powerline
|
|
||||||
style: regular
|
style: regular
|
||||||
# Bold font face
|
# Bold font face
|
||||||
bold:
|
bold:
|
||||||
family: IBM Plex Mono
|
family: "MesloLGS NF"
|
||||||
style: bold
|
style: bold
|
||||||
# Italic font face
|
# Italic font face
|
||||||
italic:
|
italic:
|
||||||
family: IBM Plex Mono
|
family: "MesloLGS NF"
|
||||||
style: italic
|
style: italic
|
||||||
size: 10
|
size: 11
|
||||||
|
|
||||||
# Colors (Gruvbox dark)
|
# Colors (Gruvbox dark)
|
||||||
colors:
|
colors:
|
||||||
@@ -66,9 +58,15 @@ colors:
|
|||||||
cyan: '#8ec07c'
|
cyan: '#8ec07c'
|
||||||
white: '#ebdbb2'
|
white: '#ebdbb2'
|
||||||
|
|
||||||
|
cursor:
|
||||||
|
style:
|
||||||
|
shape: Underline
|
||||||
|
blinking: Always
|
||||||
|
unfocused_hollow: false
|
||||||
|
thickness: 0.15
|
||||||
|
|
||||||
# Background opacity
|
# Background opacity
|
||||||
window:
|
background_opacity: 0.9
|
||||||
opacity: 1.0
|
|
||||||
|
|
||||||
# Live config reload (changes require restart)
|
# Live config reload (changes require restart)
|
||||||
live_config_reload: true
|
live_config_reload: true
|
||||||
@@ -82,11 +80,11 @@ working_directory: None
|
|||||||
|
|
||||||
# url launcher
|
# url launcher
|
||||||
mouse:
|
mouse:
|
||||||
hints:
|
hint:
|
||||||
launcher:
|
launcher:
|
||||||
program: firefox
|
program: firefox
|
||||||
|
|
||||||
key_bindings:
|
key_bindings:
|
||||||
- { key: B, mods: Command, action: IncreaseFontSize }
|
- { key: Left, mods: Shift, action: ResetFontSize }
|
||||||
- { key: N, mods: Command, action: DecreaseFontSize }
|
- { key: Up, mods: Shift, action: IncreaseFontSize }
|
||||||
- { key: M, mods: Command, action: ResetFontSize }
|
- { key: Down, mods: Shift, action: DecreaseFontSize }
|
||||||
|
|||||||
57
vimrc
57
vimrc
@@ -1,38 +1,49 @@
|
|||||||
set nocompatible
|
set nocompatible
|
||||||
|
|
||||||
" Tabstop, Shiftwith and replace tabs with spaces but not in makefiles "
|
filetype plugin indent on
|
||||||
set tabstop=2
|
|
||||||
set shiftwidth=2
|
" Pluigin installation using vim-plug "
|
||||||
set expandtab
|
call plug#begin('~/.vim/plugged')
|
||||||
|
Plug 'morhetz/gruvbox'
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
" Autocommands for special files "
|
" Autocommands for special files "
|
||||||
autocmd FileType make set noexpandtab
|
autocmd FileType make set noexpandtab
|
||||||
autocmd BufNewFile,BufRead *.md set ft=markdown tw=79
|
autocmd BufNewFile,BufRead *.md set ft=markdown tw=79
|
||||||
autocmd BufNewFile,BufRead *.tex set ft=tex tw=79
|
autocmd BufNewFile,BufRead *.tex set ft=tex tw=79
|
||||||
autocmd BufNewFile,BufRead *.txt set ft=sh tw=79
|
autocmd BufNewFile,BufRead *.txt set ft=sh tw=79
|
||||||
autocmd BufNewFile,BufRead *.py set ft=python ts=4 sw=4 tw=88 et
|
autocmd BufNewFile,BufRead *.py set ft=python tabstop=4 shiftwidth=4 softtabstop=4 showtabline=4 expandtab
|
||||||
|
|
||||||
" automatically load all installed plugins in ~/.vim/pack "
|
|
||||||
packloadall
|
|
||||||
|
|
||||||
" Syntaxhighlighting, colorscheme, linenumbers "
|
" Syntaxhighlighting, colorscheme, linenumbers "
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
set cursorline
|
|
||||||
set more " Use more
|
" Tabstop, Shiftwith and replace tabs with spaces but not in makefiles "
|
||||||
set title " Blank title
|
set tabstop=2 " number of spaces in a tab
|
||||||
set vb t_vb= " No beeping and flashing
|
set shiftwidth=2 " number of spaces to use for each step of (auto)indent
|
||||||
set wildmenu
|
set softtabstop=2 " number of spaces that a Tab counts for while editing
|
||||||
set background=dark
|
set showtabline=2 " always display tab labels
|
||||||
set number " Linenumbers
|
set expandtab " expand tabs with spaces
|
||||||
set nowrap
|
set backspace=indent,eol,start " set behavior of backspace
|
||||||
set hlsearch
|
set showmatch " when a bracket is inserted briefly jump to the matching one
|
||||||
set t_Co=256
|
set showcmd " show command in the last line of the screen
|
||||||
set laststatus=2 " Always display the statusline in all windows
|
set showmode
|
||||||
set showtabline=2 " Always display the tabline
|
set cursorline " always show cursor line
|
||||||
set noshowmode " Hide the default mode text
|
set more " use more
|
||||||
"set colorcolumn=79
|
set title " blank title
|
||||||
set textwidth=79
|
set background=dark " set bg
|
||||||
|
set relativenumber " linenumbers
|
||||||
|
set nowrap " do not wrap long lines per default
|
||||||
|
set laststatus=2 " always display the statusline in all windows
|
||||||
|
set showtabline=2 " always display the tabline
|
||||||
|
set hlsearch " highlight after search
|
||||||
|
set incsearch " highlight while searching
|
||||||
|
set ttyfast " fast rendering
|
||||||
|
set encoding=utf8 " use utf8
|
||||||
|
set laststatus=2 " always display a status line
|
||||||
|
set display=lastline " show as much as possible of the last line
|
||||||
|
|
||||||
" Airline configs
|
" Airline configs
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user