moar configs
This commit is contained in:
parent
962e7238b7
commit
a9a0300337
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"rust-analyzer.server.path": "/usr/bin/rust-analyzer",
|
||||||
|
"suggest.acceptSuggestionOnCommitCharacter": true
|
||||||
|
}
|
|
@ -20,7 +20,7 @@ set ttyfast " Speed up scrolling in Vim
|
||||||
set fdm=syntax " foldingmethod syntax
|
set fdm=syntax " foldingmethod syntax
|
||||||
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
||||||
"set spell " enable spell check (may need to download language package)
|
"set spell " enable spell check (may need to download language package)
|
||||||
set timeout timeoutlen=400
|
set timeout timeoutlen=200
|
||||||
|
|
||||||
" Avoid showing message extra message when using completion"
|
" Avoid showing message extra message when using completion"
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
|
@ -56,6 +56,9 @@ nnoremap <leader>Y "+Y
|
||||||
nnoremap <leader>y "+y
|
nnoremap <leader>y "+y
|
||||||
nnoremap <leader>yy "+yy
|
nnoremap <leader>yy "+yy
|
||||||
|
|
||||||
|
" dont write the pastet upon stuff in visual mode into the register
|
||||||
|
vnoremap p pgvy
|
||||||
|
|
||||||
" open terminal with F12
|
" open terminal with F12
|
||||||
nnoremap <F12> :terminal<CR>
|
nnoremap <F12> :terminal<CR>
|
||||||
|
|
||||||
|
@ -105,6 +108,7 @@ Plug 'goolord/alpha-nvim'
|
||||||
Plug 'nvim-tree/nvim-web-devicons'
|
Plug 'nvim-tree/nvim-web-devicons'
|
||||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ set ttyfast " Speed up scrolling in Vim
|
||||||
set fdm=syntax " foldingmethod syntax
|
set fdm=syntax " foldingmethod syntax
|
||||||
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
||||||
"set spell " enable spell check (may need to download language package)
|
"set spell " enable spell check (may need to download language package)
|
||||||
set timeout timeoutlen=400
|
set timeout timeoutlen=200
|
||||||
|
|
||||||
" Avoid showing message extra message when using completion"
|
" Avoid showing message extra message when using completion"
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
|
@ -56,6 +56,9 @@ nnoremap <leader>Y "+Y
|
||||||
nnoremap <leader>y "+y
|
nnoremap <leader>y "+y
|
||||||
nnoremap <leader>yy "+yy
|
nnoremap <leader>yy "+yy
|
||||||
|
|
||||||
|
" dont write the pastet upon stuff in visual mode into the register
|
||||||
|
vnoremap p pgvy
|
||||||
|
|
||||||
" open terminal with F12
|
" open terminal with F12
|
||||||
nnoremap <F12> :terminal<CR>
|
nnoremap <F12> :terminal<CR>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ set ttyfast " Speed up scrolling in Vim
|
||||||
set fdm=syntax " foldingmethod syntax
|
set fdm=syntax " foldingmethod syntax
|
||||||
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup.
|
||||||
"set spell " enable spell check (may need to download language package)
|
"set spell " enable spell check (may need to download language package)
|
||||||
set timeout timeoutlen=400
|
set timeout timeoutlen=200
|
||||||
|
|
||||||
" Avoid showing message extra message when using completion"
|
" Avoid showing message extra message when using completion"
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
|
@ -48,6 +48,9 @@ nnoremap <leader>Y "+Y
|
||||||
nnoremap <leader>y "+y
|
nnoremap <leader>y "+y
|
||||||
nnoremap <leader>yy "+yy
|
nnoremap <leader>yy "+yy
|
||||||
|
|
||||||
|
" dont write the pastet upon stuff in visual mode into the register
|
||||||
|
vnoremap p pgvy
|
||||||
|
|
||||||
" open terminal with F12
|
" open terminal with F12
|
||||||
nnoremap <F12> :terminal<CR>
|
nnoremap <F12> :terminal<CR>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
### ENVVARS
|
### ENVVARS
|
||||||
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:~/.local/bin
|
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:~/.local/bin:~/.cargo/bin
|
||||||
|
source ~/.path.zsh
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
|
|
|
@ -7,6 +7,7 @@ fi
|
||||||
|
|
||||||
### ENVVARS
|
### ENVVARS
|
||||||
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin:~/.cargo/bin
|
export PATH=/usr/local/sbin:/usr/sbin/:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:~/.local/bin:~/.cargo/bin
|
||||||
|
source ~/.path.zsh
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
|
@ -23,6 +24,7 @@ alias lgrep="find | grep"
|
||||||
alias psgrep="ps axu | grep"
|
alias psgrep="ps axu | grep"
|
||||||
alias plasmarestart="killall plasmashell; kstart plasma-desktop"
|
alias plasmarestart="killall plasmashell; kstart plasma-desktop"
|
||||||
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
|
||||||
|
alias gg=lazygit
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||||
|
|
Loading…
Reference in New Issue