mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update nvim, bspwm
This commit is contained in:
parent
eb4f1a5b5a
commit
a01c2ab92c
14 changed files with 102 additions and 130 deletions
|
|
@ -42,15 +42,12 @@ C focused_border_color "#008DCD"
|
||||||
C urgent_border_color "#FF6C6B"
|
C urgent_border_color "#FF6C6B"
|
||||||
|
|
||||||
#== BSPWM Rules
|
#== BSPWM Rules
|
||||||
R kitty desktop='^1' focus=on follow=on
|
R kitty desktop='^1' focus=on follow=on
|
||||||
R Google-chrome desktop='^2' focus=on follow=on
|
R Google-chrome desktop='^2' focus=on follow=on
|
||||||
R LibreWolf desktop='^2' focus=on follow=on
|
R Code desktop='^3' focus=on follow=on
|
||||||
R Code desktop='^3' focus=on follow=on
|
R Simplenote desktop='^4' focus=on follow=on
|
||||||
R Joplin desktop='^4' focus=on follow=on
|
R Nemo desktop='^5' focus=on follow=on
|
||||||
R Todoist desktop='^4' focus=on follow=on
|
R Zathura desktop='^5' focus=on follow=on state=tiled
|
||||||
R Simplenote desktop='^4' focus=on follow=on
|
R discord desktop='^6' focus=on follow=off
|
||||||
R Nemo desktop='^5' focus=on follow=on
|
R TelegramDesktop desktop='^6' focus=off follow=on
|
||||||
R Zathura desktop='^5' focus=on follow=on state=tiled
|
|
||||||
R discord desktop='^6' focus=on follow=off
|
|
||||||
R TelegramDesktop desktop='^6' focus=off follow=on
|
|
||||||
R KeePassXC desktop='^7' focus=on follow=on
|
R KeePassXC desktop='^7' focus=on follow=on
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ super + ctrl + {h,j,k,l}
|
||||||
super + {_,shift + }{1-9}
|
super + {_,shift + }{1-9}
|
||||||
bspc {desktop -f,node -d} focused:'^{1-9}'
|
bspc {desktop -f,node -d} focused:'^{1-9}'
|
||||||
|
|
||||||
super + {t, f, e}
|
super + {s, f, d}
|
||||||
bspc node -t {tiled, floating, fullscreen}
|
bspc node -t {tiled, floating, fullscreen}
|
||||||
|
|
||||||
# vim: ft=sxhkdrc
|
# vim: ft=sxhkdrc
|
||||||
|
|
|
||||||
|
|
@ -11,84 +11,42 @@ call plug#begin('~/.vim/plugged')
|
||||||
Plug 'lewis6991/gitsigns.nvim'
|
Plug 'lewis6991/gitsigns.nvim'
|
||||||
" Theme
|
" Theme
|
||||||
Plug 'Smirnov-O/nten.vim'
|
Plug 'Smirnov-O/nten.vim'
|
||||||
" Status line & Buffer line
|
" Status line && Tab line
|
||||||
Plug 'hoob3rt/lualine.nvim'
|
Plug 'hoob3rt/lualine.nvim'
|
||||||
Plug 'romgrk/barbar.nvim'
|
Plug 'romgrk/barbar.nvim'
|
||||||
" Better syntax hl
|
" Better syntax hl
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'norcalli/nvim-colorizer.lua'
|
Plug 'norcalli/nvim-colorizer.lua'
|
||||||
" Editor config
|
|
||||||
Plug 'editorconfig/editorconfig-vim'
|
|
||||||
" Other
|
" Other
|
||||||
Plug 'vimwiki/vimwiki'
|
|
||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
colo nvcode
|
colo codedark
|
||||||
let mapleader=";"
|
let mapleader=";"
|
||||||
|
|
||||||
"== Tab(or spaces)
|
"== Tab(or spaces)
|
||||||
set ts=4 sw=4 sts=4
|
set ts=4 sw=4 sts=4
|
||||||
set sta et ai
|
set sta et ai
|
||||||
|
|
||||||
"== Vim config
|
|
||||||
source $HOME/.config/nvim/vimscript/config.vim
|
|
||||||
|
|
||||||
"== Tab line
|
|
||||||
source $HOME/.config/nvim/vimscript/barbar.vim
|
|
||||||
|
|
||||||
"== Status line
|
|
||||||
luafile $HOME/.config/nvim/lua/n-lualine.lua
|
|
||||||
|
|
||||||
"== File explorer
|
|
||||||
luafile $HOME/.config/nvim/lua/n-nvimtree.lua
|
|
||||||
|
|
||||||
"== Git
|
|
||||||
luafile $HOME/.config/nvim/lua/n-gitsigns.lua
|
|
||||||
|
|
||||||
"== Emmet
|
|
||||||
source $HOME/.config/nvim/vimscript/emmet.vim
|
|
||||||
|
|
||||||
"== Colorizer
|
|
||||||
luafile $HOME/.config/nvim/lua/n-colorizer.lua
|
|
||||||
|
|
||||||
"== Notes
|
|
||||||
let g:vimwiki_list = [{'path': '~/notes', 'syntax': 'markdown', 'ext': '.md'}]
|
|
||||||
|
|
||||||
"== Completion(LSP)
|
|
||||||
ino <expr> <tab> pumvisible() ? "\<C-n>" : "\<tab>"
|
|
||||||
ino <expr> <s-tab> pumvisible() ? "\<C-p>" : "\<tab>"
|
|
||||||
ino <expr> <cr> compe#confirm('<CR>')
|
|
||||||
nno sr :lua vim.lsp.buf.rename()<cr>
|
|
||||||
nno sh :lua vim.lsp.buf.hover()<cr>
|
|
||||||
nno si :lua vim.lsp.buf.definition()<cr>
|
|
||||||
nno sa :lua vim.lsp.buf.code_action()<cr>
|
|
||||||
|
|
||||||
lua << EOF
|
|
||||||
require'lspconfig'.tsserver.setup{}
|
|
||||||
require'lspconfig'.gopls.setup{}
|
|
||||||
require'compe'.setup{
|
|
||||||
enabled = true,
|
|
||||||
autocomplete = true,
|
|
||||||
source = {
|
|
||||||
path = true,
|
|
||||||
buffer = true,
|
|
||||||
nvim_lsp = true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
|
|
||||||
"== Custom setting for another files
|
|
||||||
au FileType python,elm setl sw=4 ts=4
|
|
||||||
au FileType javascript,json,yaml,lua setl sw=2 ts=2
|
|
||||||
au FileType javascript,vue,html,css,scss :EmmetInstall
|
|
||||||
au FileType go setl noet sw=4 ts=4
|
|
||||||
|
|
||||||
"== Custom commands
|
"== Custom commands
|
||||||
com! Prettier :sil !prettier -w %
|
com! Prettier :sil !prettier -w %
|
||||||
com! Term :vs|winc L|se nonu nornu|start|term
|
com! Term :vs|winc L|se nonu nornu|start|term
|
||||||
|
com! Notes :Files ~/notes
|
||||||
com! GoFmt :sil !gofmt -w %
|
com! GoFmt :sil !gofmt -w %
|
||||||
|
|
||||||
"== Mapping
|
"== Configs
|
||||||
|
source $HOME/.config/nvim/vimscript/config.vim
|
||||||
|
source $HOME/.config/nvim/vimscript/barbar.vim
|
||||||
|
source $HOME/.config/nvim/vimscript/emmet.vim
|
||||||
|
source /home/sasha/.config/nvim/vimscript/compe.vim
|
||||||
source $HOME/.config/nvim/vimscript/mappings.vim
|
source $HOME/.config/nvim/vimscript/mappings.vim
|
||||||
|
luafile $HOME/.config/nvim/lua/n-compe.lua
|
||||||
|
luafile $HOME/.config/nvim/lua/n-lualine.lua
|
||||||
|
luafile $HOME/.config/nvim/lua/n-nvimtree.lua
|
||||||
|
luafile $HOME/.config/nvim/lua/n-gitsigns.lua
|
||||||
|
luafile $HOME/.config/nvim/lua/n-colorizer.lua
|
||||||
|
|
||||||
|
"== Custom setting for another files
|
||||||
|
au FileType python,elm setl sw=4 ts=4 sts=2
|
||||||
|
au FileType javascript,html,vue,jst,pug,css,less,scss,json,yaml,lua setl sw=2 ts=2 sts=2
|
||||||
|
au FileType go setl noet sw=4 ts=4 sts=2
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
require'colorizer'.setup(
|
require'colorizer'.setup(
|
||||||
{'*';}, {
|
{'*';}, {
|
||||||
mode = 'foreground';
|
mode = 'background';
|
||||||
RGB = true; -- #RGB hex codes
|
RGB = true; -- #RGB hex codes
|
||||||
RRGGBB = true; -- #RRGGBB hex codes
|
RRGGBB = true; -- #RRGGBB hex codes
|
||||||
RRGGBBAA = false; -- #RRGGBBAA hex codes
|
RRGGBBAA = false; -- #RRGGBBAA hex codes
|
||||||
|
|
|
||||||
13
config/nvim/lua/n-compe.lua
Normal file
13
config/nvim/lua/n-compe.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
require'lspconfig'.tsserver.setup {}
|
||||||
|
require'lspconfig'.gopls.setup {}
|
||||||
|
require'lspconfig'.pyls.setup {}
|
||||||
|
|
||||||
|
require'compe'.setup {
|
||||||
|
enabled = true,
|
||||||
|
autocomplete = true,
|
||||||
|
source = {
|
||||||
|
path = true,
|
||||||
|
buffer = true,
|
||||||
|
nvim_lsp = true,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
local S = vim.g
|
local S = vim.g
|
||||||
|
|
||||||
-- Settings
|
-- Settings
|
||||||
S.nvim_tree_side = "right"
|
S.nvim_tree_side = "left"
|
||||||
S.nvim_tree_ignore = {".git", "node_modules", "venv"}
|
S.nvim_tree_ignore = {".git", ".cache", "node_modules", "venv"}
|
||||||
S.nvim_tree_auto_close = 0
|
S.nvim_tree_auto_close = 0
|
||||||
S.nvim_tree_quit_on_open = 0
|
S.nvim_tree_quit_on_open = 0
|
||||||
S.nvim_tree_width = 24
|
S.nvim_tree_width = 24
|
||||||
|
|
|
||||||
|
|
@ -15,3 +15,5 @@ nno <A-8> :BufferGoto 8<cr>
|
||||||
nno <A-9> :BufferGoto 9<cr>
|
nno <A-9> :BufferGoto 9<cr>
|
||||||
nno <C-w> :BufferClose<cr>
|
nno <C-w> :BufferClose<cr>
|
||||||
nno <S-x> :BufferClose!<cr>
|
nno <S-x> :BufferClose!<cr>
|
||||||
|
nno <leader> :BufferMoveNext<cr>
|
||||||
|
nno <leader> :BufferMovePrevious<cr>
|
||||||
|
|
|
||||||
11
config/nvim/vimscript/compe.vim
Normal file
11
config/nvim/vimscript/compe.vim
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
" Settings
|
||||||
|
set completeopt=menuone,noselect
|
||||||
|
|
||||||
|
" Mappings
|
||||||
|
ino <expr> <tab> pumvisible() ? "\<C-n>" : "\<tab>"
|
||||||
|
ino <expr> <s-tab> pumvisible() ? "\<C-p>" : "\<tab>"
|
||||||
|
ino <expr> <cr> compe#confirm('<CR>')
|
||||||
|
nno sr :lua vim.lsp.buf.rename()<cr>
|
||||||
|
nno sh :lua vim.lsp.buf.hover()<cr>
|
||||||
|
nno si :lua vim.lsp.buf.definition()<cr>
|
||||||
|
nno sa :lua vim.lsp.buf.code_action()<cr>
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
let g:user_emmet_mode = "in"
|
"== Config
|
||||||
let g:user_emmet_leader_key=','
|
let g:user_emmet_mode = "i"
|
||||||
|
let g:user_emmet_expandabbr_key ='<c-j>'
|
||||||
|
let g:user_emmet_leader = ","
|
||||||
let g:user_emmet_settings = {
|
let g:user_emmet_settings = {
|
||||||
\ 'javascript': {
|
\ 'javascript': {'extends': 'jsx'}}
|
||||||
\ 'extends': 'jsx'
|
|
||||||
\ }}
|
"== Auto load
|
||||||
|
au FileType html,jst,pug,vue,css,less,scss :EmmetInstall
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
nno <C-s> :w<cr>
|
nno <C-s> :w<cr>
|
||||||
nno <space> :noh<cr>
|
nno <space> :noh<cr>
|
||||||
nno <leader>t :Term<cr>
|
nno <leader>t :Term<cr>
|
||||||
nno <leader>e :NvimTreeToggle<cr>
|
nno <leader>e :NvimTreeToggle<cr>
|
||||||
|
|
@ -8,13 +8,6 @@ nno <leader>; :Files<cr>
|
||||||
nno <leader>j :bn<cr>
|
nno <leader>j :bn<cr>
|
||||||
nno <leader>k :bp<cr>
|
nno <leader>k :bp<cr>
|
||||||
|
|
||||||
" Terminal
|
|
||||||
tno <esc> <c-\><c-n>
|
|
||||||
tno <C-h> <c-\><cmd>:winc h<cr>
|
|
||||||
tno <C-j> <c-\><cmd>:winc j<cr>
|
|
||||||
tno <C-k> <c-\><cmd>:winc k<cr>
|
|
||||||
tno <C-l> <c-\><cmd>:winc k<cr>
|
|
||||||
|
|
||||||
" Split
|
" Split
|
||||||
nno <C-h> :winc h<cr>
|
nno <C-h> :winc h<cr>
|
||||||
nno <C-j> :winc j<cr>
|
nno <C-j> :winc j<cr>
|
||||||
|
|
@ -25,3 +18,10 @@ nno spv :vs<cr>
|
||||||
nno sph :sp<cr>
|
nno sph :sp<cr>
|
||||||
nno spk :winc K<cr>
|
nno spk :winc K<cr>
|
||||||
nno spl :winc L<cr>
|
nno spl :winc L<cr>
|
||||||
|
|
||||||
|
" Terminal
|
||||||
|
tno <esc> <c-\><c-n>
|
||||||
|
tno <C-h> <c-\><cmd>winc h<cr>
|
||||||
|
tno <C-j> <c-\><cmd>winc j<cr>
|
||||||
|
tno <C-k> <c-\><cmd>winc k<cr>
|
||||||
|
tno <C-l> <c-\><cmd>winc k<cr>
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,4 @@
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
ad = add -A
|
|
||||||
cm = commit -m
|
|
||||||
br = branch
|
|
||||||
df = diff
|
|
||||||
dh = diff HEAD
|
|
||||||
l = log --oneline --decorate
|
l = log --oneline --decorate
|
||||||
st = status --porcelain
|
|
||||||
|
|
|
||||||
41
tmux.conf
41
tmux.conf
|
|
@ -1,63 +1,50 @@
|
||||||
###== General
|
set -sg escape-time 0 # ESC time out
|
||||||
set -sg escape-time 0
|
set -g prefix C-a # Prefix
|
||||||
|
set -g mouse on # Mouse support
|
||||||
|
|
||||||
## Set prefix
|
# Set base index
|
||||||
set -g prefix C-d
|
|
||||||
|
|
||||||
## Set base index
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
|
||||||
## Mouse support
|
# Colors
|
||||||
set -g mouse on
|
|
||||||
setw -g mouse on
|
|
||||||
|
|
||||||
## 256 color support
|
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
set-option -sa terminal-overrides ",*:Tc"
|
set-option -sa terminal-overrides ",*:Tc"
|
||||||
|
|
||||||
###== Keybindongs
|
|
||||||
## HOME/END key support
|
|
||||||
bind-key -n Home send Escape "OH"
|
|
||||||
bind-key -n End send Escape "OF"
|
|
||||||
|
|
||||||
## Reload config
|
#== Keys
|
||||||
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
|
bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'
|
||||||
|
|
||||||
## Vim keys for change window
|
|
||||||
|
# Change pane
|
||||||
bind -r h select-pane -L
|
bind -r h select-pane -L
|
||||||
bind -r j select-pane -D
|
bind -r j select-pane -D
|
||||||
bind -r k select-pane -U
|
bind -r k select-pane -U
|
||||||
bind -r l select-pane -R
|
bind -r l select-pane -R
|
||||||
|
|
||||||
## Vim keys for resize window
|
# Resize pane
|
||||||
bind -r H resize-pane -L 2
|
bind -r H resize-pane -L 2
|
||||||
bind -r J resize-pane -D 2
|
bind -r J resize-pane -D 2
|
||||||
bind -r K resize-pane -U 2
|
bind -r K resize-pane -U 2
|
||||||
bind -r L resize-pane -R 2
|
bind -r L resize-pane -R 2
|
||||||
|
|
||||||
## Alternative window move
|
# Window move
|
||||||
bind-key i swap-window -t -1
|
bind-key i swap-window -t -1
|
||||||
bind-key o swap-window -t +1
|
bind-key o swap-window -t +1
|
||||||
|
|
||||||
## Alternative keys for create window
|
## Create window
|
||||||
bind _ split-window -v
|
bind _ split-window -v
|
||||||
bind - split-window -h
|
bind - split-window -h
|
||||||
|
|
||||||
## Change focus on last panel
|
## Change focus on last window
|
||||||
bind Tab last-window
|
bind Tab last-window
|
||||||
|
|
||||||
###== Status bar
|
#== Status bar
|
||||||
## Items
|
|
||||||
set -g status-right ' #{?client_prefix,*,} #S '
|
set -g status-right ' #{?client_prefix,*,} #S '
|
||||||
set -g status-left ' '
|
set -g status-left ' '
|
||||||
|
|
||||||
## Colors
|
|
||||||
set -g status-bg default
|
set -g status-bg default
|
||||||
set -g status-fg black
|
set -g status-fg black
|
||||||
set -g status-style fg=colour110
|
set -g status-style fg=colour110
|
||||||
|
|
||||||
###== Pane border colors
|
#== Pane border colors
|
||||||
set -g pane-border-style fg=colour240
|
set -g pane-border-style fg=colour240
|
||||||
set -g pane-active-border-style fg=colour39
|
set -g pane-active-border-style fg=colour39
|
||||||
set-window-option -g window-status-current-style fg=colour39
|
set-window-option -g window-status-current-style fg=colour39
|
||||||
|
|
|
||||||
|
|
@ -4,17 +4,16 @@
|
||||||
|
|
||||||
"workbench.sideBar.location": "right",
|
"workbench.sideBar.location": "right",
|
||||||
"workbench.editor.untitled.hint": "hidden",
|
"workbench.editor.untitled.hint": "hidden",
|
||||||
"workbench.iconTheme": "vs-minimal",
|
|
||||||
"workbench.startupEditor": "none",
|
"workbench.startupEditor": "none",
|
||||||
|
|
||||||
"explorer.compactFolders": false,
|
"explorer.compactFolders": false,
|
||||||
"explorer.confirmDragAndDrop": false,
|
"explorer.confirmDragAndDrop": false,
|
||||||
"explorer.confirmDelete": false,
|
"explorer.confirmDelete": false,
|
||||||
|
|
||||||
"editor.cursorSmoothCaretAnimation": true,
|
// "editor.cursorSmoothCaretAnimation": true,
|
||||||
"editor.fontFamily": "'Jetbrains Mono', monospace",
|
"editor.fontFamily": "'Jetbrains Mono', monospace",
|
||||||
"editor.hover.enabled": false,
|
"editor.hover.enabled": false,
|
||||||
"editor.lightbulb.enabled": false,
|
// "editor.lightbulb.enabled": false,
|
||||||
"editor.minimap.enabled": false,
|
"editor.minimap.enabled": false,
|
||||||
"editor.smoothScrolling": true,
|
"editor.smoothScrolling": true,
|
||||||
"editor.mouseWheelZoom": true,
|
"editor.mouseWheelZoom": true,
|
||||||
|
|
@ -28,6 +27,7 @@
|
||||||
"files.insertFinalNewline": true,
|
"files.insertFinalNewline": true,
|
||||||
"files.trimFinalNewlines": true,
|
"files.trimFinalNewlines": true,
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"search.quickOpen.includeHistory": false,
|
||||||
|
|
||||||
"gitlens.codeLens.enabled": true,
|
"gitlens.codeLens.enabled": true,
|
||||||
"git.autofetch": true,
|
"git.autofetch": true,
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
"git.enableSmartCommit": true,
|
"git.enableSmartCommit": true,
|
||||||
|
|
||||||
"extensions.ignoreRecommendations": true,
|
"extensions.ignoreRecommendations": true,
|
||||||
|
"docker.showStartPage": false,
|
||||||
"prettier.semi": false,
|
"prettier.semi": false,
|
||||||
|
|
||||||
"emmet.includeLanguages": {"javascript": "javascriptreact"},
|
"emmet.includeLanguages": {"javascript": "javascriptreact"},
|
||||||
|
|
@ -47,4 +47,9 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
},
|
},
|
||||||
|
"files.exclude": {
|
||||||
|
"**/.cache": true,
|
||||||
|
"**/node_modules": true
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
zshrc
12
zshrc
|
|
@ -1,24 +1,26 @@
|
||||||
## StartShip
|
## StartShip
|
||||||
eval "$(starship init zsh)"
|
#eval "$(starship init zsh)"
|
||||||
|
|
||||||
## Variables
|
## Variables
|
||||||
export GOPATH="$HOME/go"
|
export GOPATH="$HOME/go"
|
||||||
export EDITOR="nvim"
|
|
||||||
export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$PATH"
|
export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$PATH"
|
||||||
|
export EDITOR="nvim"
|
||||||
|
|
||||||
|
## FZF
|
||||||
|
export FZF_DEFAULT_COMMAND="fd -t f -E node_modules"
|
||||||
|
|
||||||
## Oh my zsh
|
## Oh my zsh
|
||||||
plugins=(dotenv z)
|
plugins=(dotenv)
|
||||||
ZSH_THEME="simple"
|
ZSH_THEME="simple"
|
||||||
source "$HOME/.oh-my-zsh/oh-my-zsh.sh"
|
source "$HOME/.oh-my-zsh/oh-my-zsh.sh"
|
||||||
|
|
||||||
## HotKets
|
## HotKets
|
||||||
bindkey -s "^o" "ranger\n"
|
bindkey -s "^o" "ranger\n"
|
||||||
bindkey -s "^e" 'nvim $(fzf)\n'
|
|
||||||
bindkey -s "^f" 'cd $(fd -t directory | fzf)\n'
|
|
||||||
bindkey -s "^g" "lazygit\n"
|
bindkey -s "^g" "lazygit\n"
|
||||||
|
|
||||||
## FNM
|
## FNM
|
||||||
eval $(fnm env)
|
eval $(fnm env)
|
||||||
|
eval $(fnm completions)
|
||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
alias cls="clear" cp="cp -r" mkdir="mkdir -p"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue