Compare commits

..

No commits in common. "b68239d658c1f78472aa19715b71f1bd86cab6f5" and "8877db9b16b2f2abbe10efaaa15b25da711abeaf" have entirely different histories.

4 changed files with 3 additions and 17 deletions

View File

@ -22,10 +22,6 @@ export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx
export XDG_CONFIG_HOME="${HOME}/.config"
export QT_STYLE_OVERRIDE=kvantum
#export GTK_USE_PORTAL=1 #export GTK_USE_PORTAL=1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then

View File

@ -38,7 +38,6 @@ fi
# NNN configuration # NNN configuration
export NNN_FIFO=/tmp/nnn.fifo export NNN_FIFO=/tmp/nnn.fifo
export NNN_PLUG='p:preview-tui' export NNN_PLUG='p:preview-tui'
export NNN_TRASH=1
# fzf # fzf
export FZF_DEFAULT_OPTS="--height 40% --layout=reverse" export FZF_DEFAULT_OPTS="--height 40% --layout=reverse"

View File

@ -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>ff", vim.cmd.Files)
vim.keymap.set("n", "<leader>ft", vim.cmd.Tags) vim.keymap.set("n", "<leader>ft", vim.cmd.Tags)
vim.keymap.set("n", "<leader>fr", vim.cmd.Rg) vim.keymap.set("n", "<leader>fr", vim.cmd.Rg)
-- insert mode completion --
vim.keymap.set("i", "<C-e>", "<C-n>")
-- Vim argument list bindings -- Vim argument list bindings
-- --
-- Generate list of arg action callbacks, which then executes vim.cmd.args() -- Generate list of arg action callbacks, which then executes vim.cmd.args()

View File

@ -3,8 +3,8 @@
# These are functions related to fzf used to go to locations, edit # These are functions related to fzf used to go to locations, edit
# configurations, or start a tmux session in common directories. # configurations, or start a tmux session in common directories.
# Finds recursively within current directory and cd into the location of the # Finds within current directory and cd into the location of the file or
# file or directory. # directory.
goto() goto()
{ {
path=$(find $1 2> /dev/null | fzf) path=$(find $1 2> /dev/null | fzf)
@ -12,14 +12,6 @@ goto()
cd "$path" 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 # Quickly find and edit a file within ~/.config or ~/Documents
cfg() cfg()
{ {