set up a basic tmux conf
This commit is contained in:
parent
aacddf147f
commit
ff83f328a5
3 changed files with 21 additions and 1 deletions
|
@ -24,6 +24,7 @@ setpath ~/.rbenv/bin
|
|||
setpath ~/.pyenv/shims
|
||||
setpath ~/.cargo/bin
|
||||
setpath ~/.ghcup/bin
|
||||
setpath ~/.cabal/bin
|
||||
setpath ~/.local/bin
|
||||
setpath ~/.local/bin/elixir-ls
|
||||
setpath ~/.rye/shims
|
||||
|
@ -42,7 +43,7 @@ zoxide init fish | source
|
|||
source ~/.config/fish/private.fish
|
||||
|
||||
# Environment variables
|
||||
set -x EDITOR "vim"
|
||||
set -x EDITOR "nvim"
|
||||
set -x USER "lu"
|
||||
set -x SHELL (which fish)
|
||||
set -x TERM xterm-256color
|
||||
|
@ -81,6 +82,10 @@ alias rp "rustup"
|
|||
alias be "bundle exec"
|
||||
# cd into a temp directory, very useful!
|
||||
alias mkt "cd (mktemp -d)"
|
||||
# tmux aliases
|
||||
alias tx "tmux"
|
||||
alias txls "tmux list-sessions"
|
||||
alias txa "tmux attach"
|
||||
# Git Aliases
|
||||
alias lg "lazygit"
|
||||
alias g "git"
|
||||
|
|
|
@ -14,6 +14,7 @@ require("lazy").setup({
|
|||
{ import = "lazyvim.plugins.extras.editor.aerial" },
|
||||
{ import = "lazyvim.plugins.extras.editor.leap" },
|
||||
{ import = "lazyvim.plugins.extras.lang.rust" },
|
||||
{ import = "lazyvim.plugins.extras.lang.haskell" },
|
||||
{ import = "lazyvim.plugins.extras.formatting.prettier" },
|
||||
-- import/override with your plugins
|
||||
{ import = "plugins" },
|
||||
|
|
14
dot_config/tmux/tmux.conf
Normal file
14
dot_config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
# mouse mode
|
||||
set -g mouse on
|
||||
|
||||
# easy reloads
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
# fix escape-time to prevent weird behaviour in vim
|
||||
set -s escape-time 0
|
||||
|
||||
# use C-b s/h for splitting
|
||||
unbind s
|
||||
unbind h
|
||||
bind s split-window -v
|
||||
bind h split-window -h
|
Loading…
Add table
Reference in a new issue