changes
parent
e2a20dad16
commit
ad0af01eb9
|
@ -24,6 +24,7 @@ alias sfe='$EDITOR ~/.config/sfeed/sfeedrc'
|
||||||
#programs
|
#programs
|
||||||
alias trc="tremc -c @$TRNS_IP:9091"
|
alias trc="tremc -c @$TRNS_IP:9091"
|
||||||
alias pm='pulsemixer'
|
alias pm='pulsemixer'
|
||||||
|
alias vimw='nvim -c VimwikiIndex'
|
||||||
|
|
||||||
#Youtube
|
#Youtube
|
||||||
alias yv='pipe-viewer --resolution=480p'
|
alias yv='pipe-viewer --resolution=480p'
|
||||||
|
|
|
@ -9,16 +9,26 @@ call plug#begin('~/.local/share/nvim/plugged')
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
|
||||||
|
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
Plug 'chriskempson/base16-vim'
|
Plug 'chriskempson/base16-vim'
|
||||||
|
|
||||||
Plug 'ziglang/zig.vim'
|
Plug 'vimwiki/vimwiki'
|
||||||
|
|
||||||
"language support
|
"language support
|
||||||
Plug 'tbastos/vim-lua'
|
Plug 'tbastos/vim-lua'
|
||||||
|
Plug 'ziglang/zig.vim'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
"vimwiki
|
||||||
|
set nocompatible
|
||||||
|
filetype plugin on
|
||||||
|
syntax on
|
||||||
|
|
||||||
"enable ale completion
|
"enable ale completion
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 1
|
||||||
|
|
||||||
|
@ -44,6 +54,10 @@ let g:ale_completion_enabled = 1
|
||||||
nnoremap <silent> <tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bnext<CR>
|
nnoremap <silent> <tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bnext<CR>
|
||||||
nnoremap <silent> <s-tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bprevious<CR>
|
nnoremap <silent> <s-tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bprevious<CR>
|
||||||
|
|
||||||
|
nnoremap <F2> :ALEGoToDefinition<Enter>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"make vim use system clipboard by default. ONLY FOR NEOVIM
|
"make vim use system clipboard by default. ONLY FOR NEOVIM
|
||||||
set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
### Variables
|
### Variables
|
||||||
#
|
#
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
set $mod Mod1
|
set $mod Mod4
|
||||||
# Home row direction keys, like vim
|
# Home row direction keys, like vim
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
|
@ -296,6 +296,7 @@ default_border pixel 2
|
||||||
|
|
||||||
#set windows to float by default
|
#set windows to float by default
|
||||||
for_window [class="Matplotlib"] floating enable
|
for_window [class="Matplotlib"] floating enable
|
||||||
|
for_window [class="Steam"] floating enable
|
||||||
|
|
||||||
#input config
|
#input config
|
||||||
input type:pointer accel_profile flat
|
input type:pointer accel_profile flat
|
||||||
|
|
|
@ -90,6 +90,8 @@ fi
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
#export TERM='xterm-256color'
|
#export TERM='xterm-256color'
|
||||||
|
[ -f "/home/alex/.ghcup/env" ] && source "/home/alex/.ghcup/env" # ghcup-env
|
||||||
|
|
||||||
# Load zsh-syntax-highlighting; should be last.
|
# Load zsh-syntax-highlighting; should be last.
|
||||||
source $HOME/.local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
source $HOME/.local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue