Compare commits
No commits in common. "b68239d658c1f78472aa19715b71f1bd86cab6f5" and "8877db9b16b2f2abbe10efaaa15b25da711abeaf" have entirely different histories.
b68239d658
...
8877db9b16
@ -22,10 +22,6 @@ export XMODIFIERS="@im=fcitx"
|
||||
export QT_IM_MODULE=fcitx
|
||||
export GTK_IM_MODULE=fcitx
|
||||
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
|
||||
export QT_STYLE_OVERRIDE=kvantum
|
||||
|
||||
#export GTK_USE_PORTAL=1
|
||||
|
||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
|
1
.bashrc
1
.bashrc
@ -38,7 +38,6 @@ fi
|
||||
# NNN configuration
|
||||
export NNN_FIFO=/tmp/nnn.fifo
|
||||
export NNN_PLUG='p:preview-tui'
|
||||
export NNN_TRASH=1
|
||||
|
||||
# fzf
|
||||
export FZF_DEFAULT_OPTS="--height 40% --layout=reverse"
|
||||
|
@ -4,8 +4,7 @@ vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
||||
vim.keymap.set("n", "<leader>ff", vim.cmd.Files)
|
||||
vim.keymap.set("n", "<leader>ft", vim.cmd.Tags)
|
||||
vim.keymap.set("n", "<leader>fr", vim.cmd.Rg)
|
||||
-- insert mode completion
|
||||
vim.keymap.set("i", "<C-e>", "<C-n>")
|
||||
--
|
||||
-- Vim argument list bindings
|
||||
--
|
||||
-- Generate list of arg action callbacks, which then executes vim.cmd.args()
|
||||
|
@ -3,8 +3,8 @@
|
||||
# These are functions related to fzf used to go to locations, edit
|
||||
# configurations, or start a tmux session in common directories.
|
||||
|
||||
# Finds recursively within current directory and cd into the location of the
|
||||
# file or directory.
|
||||
# Finds within current directory and cd into the location of the file or
|
||||
# directory.
|
||||
goto()
|
||||
{
|
||||
path=$(find $1 2> /dev/null | fzf)
|
||||
@ -12,14 +12,6 @@ goto()
|
||||
cd "$path"
|
||||
}
|
||||
|
||||
# Finds files recursively within current directory and edits file.
|
||||
edit()
|
||||
{
|
||||
file=$(find $1 -type f 2> /dev/null | fzf)
|
||||
[ -z "$file" ] && return
|
||||
$EDITOR "$file"
|
||||
}
|
||||
|
||||
# Quickly find and edit a file within ~/.config or ~/Documents
|
||||
cfg()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user