wip
This commit is contained in:
5
.bashrc
5
.bashrc
@@ -4,11 +4,6 @@
|
|||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]
|
|
||||||
then
|
|
||||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
|
|
||||||
exec fish $LOGIN_OPTION
|
|
||||||
fi
|
|
||||||
|
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|||||||
@@ -8,9 +8,21 @@ vim.o.smartindent = true -- Automatically indent new lines
|
|||||||
vim.o.wrap = false -- Disable line wrapping
|
vim.o.wrap = false -- Disable line wrapping
|
||||||
vim.o.cursorline = true -- Highlight the current line
|
vim.o.cursorline = true -- Highlight the current line
|
||||||
vim.o.termguicolors = true -- Enable 24-bit RGB colors
|
vim.o.termguicolors = true -- Enable 24-bit RGB colors
|
||||||
vim.o.clipboard = "unnamedplus"
|
|
||||||
vim.filetype.add({extension = {svx = "markdown"}})
|
vim.filetype.add({extension = {svx = "markdown"}})
|
||||||
|
|
||||||
|
local kitten = vim.fn.expand("~/.local/share/kitty-ssh-kitten/kitty/bin/kitten")
|
||||||
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
vim.g.clipboard = {
|
||||||
|
name = 'OSC 52',
|
||||||
|
copy = {
|
||||||
|
['+'] = require('vim.ui.clipboard.osc52').copy('+'),
|
||||||
|
-- ['*'] = require('vim.ui.clipboard.osc52').copy('*'),
|
||||||
|
},
|
||||||
|
paste = {
|
||||||
|
['+'] = require('vim.ui.clipboard.osc52').paste('+'),
|
||||||
|
-- ['*'] = require('vim.ui.clipboard.osc52').paste('*'),
|
||||||
|
},
|
||||||
|
}
|
||||||
-- Syntax highlighting and filetype plugins
|
-- Syntax highlighting and filetype plugins
|
||||||
vim.cmd('syntax enable')
|
vim.cmd('syntax enable')
|
||||||
vim.cmd('filetype plugin indent on')
|
vim.cmd('filetype plugin indent on')
|
||||||
|
|||||||
8
.tmux.conf
Normal file
8
.tmux.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#set-option -g remain-on-exit on
|
||||||
|
set-option -g default-shell /bin/zsh
|
||||||
|
set -g history-limit 30000
|
||||||
|
# Allow Tmux to pass through OSC 52 escape sequences
|
||||||
|
set -g allow-passthrough on
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
set -g set-clipboard on
|
||||||
Reference in New Issue
Block a user