Compare commits
4 Commits
df9e995030
...
95fb4c0050
Author | SHA1 | Date | |
---|---|---|---|
95fb4c0050 | |||
46cba9903c | |||
2529f6e1da | |||
12de2d94c9 |
9
.bashrc
9
.bashrc
@ -19,17 +19,18 @@ alias nvidia_gpu="DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_N
|
||||
alias feh="swallow feh --force-aliasing --draw-exif --scale-down --draw-filename"
|
||||
alias ffplay="swallow ffplay $@"
|
||||
alias shutdown="shutdown -P now"
|
||||
alias untar="tar -xvf $@"
|
||||
|
||||
export DENO_INSTALL="/home/oliver/.deno"
|
||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||
export PATH="$HOME/.cargo/bin:$HOME/.local/bin/:$PATH"
|
||||
export PATH="$PATH:$DENO_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin/"
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export TORCH_CUDA_VERSION="cu117"
|
||||
export LIBTORCH="/home/oliver/sources/libtorchcxx11"
|
||||
export LD_LIBRARY_PATH="${LIBTORCH}/lib:$LD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${LIBTORCH}/lib"
|
||||
export WINEPREFIX="$HOME/.wine/"
|
||||
export DXVK_HUD="fps"
|
||||
export DXVK_HUD="fps,compiler"
|
||||
export EDITOR="nvim"
|
||||
export TZ='America/Denver'
|
||||
|
||||
lfcd() {
|
||||
tmp="$(mktemp)"
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"java.import.gradle.java.home": "/usr/lib/jvm/java-17-openjdk",
|
||||
"java.jdt.ls.java.home": "/usr/lib/jvm/java-17-openjdk",
|
||||
"semanticTokens.enable": true
|
||||
"semanticTokens.enable": true,
|
||||
}
|
||||
|
@ -12,8 +12,10 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion
|
||||
call plug#end()
|
||||
|
||||
" =============== Vannila vim config ================================================
|
||||
let mapleader = "\\"
|
||||
:set splitbelow
|
||||
:set clipboard=unnamedplus
|
||||
:set relativenumber
|
||||
:set number relativenumber
|
||||
:windo set nowrap
|
||||
:set showcmd
|
||||
:set mouse=a
|
||||
@ -22,13 +24,22 @@ call plug#end()
|
||||
:set updatetime=250
|
||||
:set tabstop=4 shiftwidth=4 smarttab
|
||||
:highlight Comment ctermfg=Grey
|
||||
" =============== Colors ====================
|
||||
nnoremap <silent> <leader>p :split +term <CR>
|
||||
|
||||
|
||||
" =============== NERDTree ================================================
|
||||
" Toggle file browser
|
||||
nnoremap <silent> <leader>e :NERDTreeToggle<CR>
|
||||
|
||||
" =============== Colors ================================================
|
||||
let g:onedark_config = {
|
||||
\ 'style': 'warmer',
|
||||
\}
|
||||
colorscheme onedark
|
||||
:hi CocFloating guifg=clear guibg=#151515
|
||||
:hi CocFloating guibg=#151515 guifg=clear
|
||||
:hi Pmenu guibg=#151515 guifg=clear
|
||||
:hi @parameter guifg=#ed6215
|
||||
:hi CursorColumn guibg=#e2c792 guifg=#232326
|
||||
|
||||
" =============== NERDTree Config ================================================
|
||||
:let NERDTreeShowHidden=1
|
||||
@ -53,10 +64,7 @@ endfunction
|
||||
autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||
|
||||
" coc rename
|
||||
nnoremap <silent> rr <Plug>(coc-rename)
|
||||
" Toggle file browser
|
||||
nnoremap <C-e> :NERDTreeToggle<CR>
|
||||
|
||||
nnoremap <silent> <leader>r <Plug>(coc-rename)
|
||||
" Jump between references and definiton
|
||||
nnoremap <silent> <C-k> :call CocActionAsync('jumpReferences')<CR>
|
||||
nnoremap <silent> K :call CocActionAsync('jumpDefinition')<CR>
|
||||
|
5
.xinitrc
5
.xinitrc
@ -37,7 +37,8 @@ fi
|
||||
|
||||
xcompmgr -n &
|
||||
|
||||
xrandr --output HDMI-0 --mode 1920x1080 --rate 60 --brightness 0.8 --left-of DP-4
|
||||
xrandr --output DP-4 --mode 1920x1080 --rate 165 --brightness 0.8 --primary
|
||||
xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --brightness 0.8 --left-of DP-3
|
||||
xrandr --output DP-3 --mode 1920x1080 --rate 165 --brightness 0.8 --primary
|
||||
|
||||
start-pipewire &
|
||||
dbus-launch --exit-with-session awesome
|
||||
|
Loading…
x
Reference in New Issue
Block a user