Updated dotfiles
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
ec3a489d2e
commit
acba975720
@ -9,25 +9,29 @@ set laststatus=2
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set tabstop=4
|
||||
set splitbelow splitright
|
||||
au BufWritePre * let &bex = '@' . strftime("%F.%H:%M")
|
||||
|
||||
""
|
||||
" plugins
|
||||
call plug#begin('~/.config/nvim/plugged')
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'nmante/vim-latex-live-preview'
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'jceb/vim-orgmode'
|
||||
Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
|
||||
" Autocomplete
|
||||
" Bash
|
||||
Plug 'vim-scripts/bash-support.vim'
|
||||
" Complete
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'vim-syntastic/syntastic'
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
" Ruby
|
||||
Plug 'takkii/Bignyanco'
|
||||
Plug 'deoplete-plugins/deoplete-jedi'
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'tpope/vim-rails'
|
||||
"
|
||||
" Problem with vim-prettier
|
||||
" git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x;
|
||||
@ -115,8 +119,8 @@ hi CursorLine cterm=NONE term=NONE ctermbg=NONE guibg=NONE
|
||||
hi CursorLine ctermbg=235
|
||||
|
||||
" map
|
||||
nnoremap NN :set nu! <CR>
|
||||
nnoremap nn :set nu <CR>
|
||||
nnoremap ,nn :set nu! <CR>
|
||||
nnoremap ,NN :set nu <CR>
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
1
.config/nvim/plugged/bash-support.vim
Submodule
1
.config/nvim/plugged/bash-support.vim
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 309d6fe45859f2d30d0e8fe8016ca69f03b9f7d6
|
12
.gitignore
vendored
12
.gitignore
vendored
@ -101,3 +101,15 @@ www
|
||||
.local/bin/flask
|
||||
.local/include/
|
||||
.config/neofetch/
|
||||
.vimspector.log
|
||||
.tig_history
|
||||
.tooling/
|
||||
.sts4/
|
||||
.solargraph/
|
||||
.screenlayout/
|
||||
.pylint.d/
|
||||
.nvidia-settings-rc
|
||||
.m2/
|
||||
.config/mpv/watch_later/
|
||||
.gem/
|
||||
.config/Postman/
|
||||
|
@ -14,7 +14,7 @@ below 0
|
||||
track_gtk_theme_name 0
|
||||
default_track_theme "Default"
|
||||
save_position 1
|
||||
chart_width 95
|
||||
chart_width 105
|
||||
update_HZ 10
|
||||
allow_multiple_instances 0
|
||||
float_factor 1000
|
||||
@ -71,9 +71,10 @@ proc sensor_mode 0
|
||||
proc text_format \w88\a$p\f procs\n\e$u\f users
|
||||
proc chart_config 40 100 0 0 0 0 : 1 0 0 0 500 : 0 0 0 0 500
|
||||
disk assign_method 2
|
||||
disk device Disk 0 0 0 1 1 0 0 Disk
|
||||
disk chart_config Disk 40 15000000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
disk device sda 0 0 45 0 1 -1 0 sda
|
||||
disk device Disk 0 0 0 0 1 0 0 Disk
|
||||
disk chart_config Disk 40 20000000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
disk device sda 0 0 45 1 1 -1 0 sda
|
||||
disk chart_config sda 40 10000000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
disk device sda1 0 0 45 0 1 1 0 sda1
|
||||
disk device sda2 0 0 45 0 1 2 0 sda2
|
||||
disk device sda3 0 0 45 0 1 3 0 sda3
|
||||
@ -83,12 +84,24 @@ disk device dm-1 0 0 556 0 1 -1 0 dm-1
|
||||
disk text_format $T
|
||||
inet text_format all \t$a\f $l\N$A\f $L
|
||||
inet update_interval all 1
|
||||
net enables br-b27b19007b8e 0 1 0
|
||||
net chart_config br-b27b19007b8e 40 5 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables docker0 0 1 0
|
||||
net chart_config docker0 40 5 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables eth0 1 1 0
|
||||
net chart_config eth0 40 300000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net chart_config eth0 40 2000000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables lo 0 1 0
|
||||
net enables veth1ee909d 0 1 0
|
||||
net chart_config veth1ee909d 40 100 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables veth34ebeda 0 1 0
|
||||
net chart_config veth34ebeda 40 100 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables veth665662f 0 1 0
|
||||
net chart_config veth665662f 40 100 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables vethc201b27 0 1 0
|
||||
net chart_config vethc201b27 40 100 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
|
||||
net enables wlan0 0 1 0
|
||||
net timer_enabled 1
|
||||
net timer_seconds 1
|
||||
net timer_enabled 0
|
||||
net timer_seconds 0
|
||||
net timer_iface none
|
||||
net timer_on
|
||||
net timer_off
|
||||
|
@ -58,7 +58,7 @@ print_battery() {
|
||||
print_mail(){
|
||||
unread="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx]/new/* -type f | wc -l 2>/dev/null)"
|
||||
icon="$(cat "/tmp/imapsyncicon_$USER" 2>/dev/null)"
|
||||
[ "$unread" = "0" ] && [ "$icon" = "" ] || echo "📬 $unread$icon"
|
||||
[ "$unread" = "1" ] && [ "$icon" = "" ] || echo "📬 $unread$icon"
|
||||
}
|
||||
|
||||
print_cpu() {
|
||||
|
1
.local/bin/postman
Symbolic link
1
.local/bin/postman
Symbolic link
@ -0,0 +1 @@
|
||||
/opt/postman/Postman
|
2
.zshrc
2
.zshrc
@ -42,7 +42,7 @@ export CCACHE_DIR="/usr/ccache"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export BROWSER=/usr/bin/firefox-bin
|
||||
export BROWSER=/home/yorune/.local/bin/browser-x
|
||||
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse'
|
||||
export EIX_LIMIT_COMPACT=0
|
||||
export TERMINAL="st"
|
||||
|
Loading…
Reference in New Issue
Block a user