Skip to content

Commit

Permalink
nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Aug 22, 2024
1 parent 6a76591 commit 3618467
Show file tree
Hide file tree
Showing 18 changed files with 430 additions and 297 deletions.
4 changes: 2 additions & 2 deletions bashrc_files/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ alias ednv=' nvim -c "Buffers" "${XDG_CONFIG_HOME}/nvim/lua/"*.lua "${XDG_C
alias nva=' fd . --exact-depth 1 -tf -0 -X nvim -c "Buffers"'
#--------------------------------------------------zathura-------------------------------#
alias z=' zathura --fork'
alias eread=' fd "[.](pdf|epub|mobi|azw2|djvu)$" | fzf --preview="ctpv {}" --print0 | xargs -0 -r -o zathura --fork; exit'
alias fread=' fd "[.](pdf|epub|mobi|azw2|djvu)$" | fzf --preview="ctpv {}" --print0 | xargs -0 -r -o zathura --fork'
alias eread=' fd "[.](pdf|epub|mobi|azw2|djvu)$" | fzf --print0 | xargs -0 -r -o zathura --fork; exit'
alias fread=' fd "[.](pdf|epub|mobi|azw2|djvu)$" | fzf --print0 | xargs -0 -r -o zathura --fork'
#--------------------------------------------------df------------------------------------#
alias d=' \df -h | ccze -m ansi'
alias D=' \df -h | grep -Po "^[ ]*[/]dev[/].*" | ccze -m ansi'
Expand Down
4 changes: 2 additions & 2 deletions bashrc_files/exports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ export BEMENU_OPTS=''
#------------------SYSTEM--------------#
export EMACS_SOCKET_NAME="${USER}_emacs_daemon"
export DOOMDIR="${HOME}/.config/doom"
export SUDO_EDITOR='vim'
export SUDO_EDITOR='nvim'
export TERM='st-256color'
export TERMINAL='/usr/local/bin/st'
export EDITOR="nvim"
export EDITOR='nvim'
export ERL_AFLAGS="-kernel shell_history enabled"
#------------------MINE----------------#
export STANDARD_IFS=$' \t\n'
Expand Down
10 changes: 5 additions & 5 deletions ctpv/config
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
#set chafasixel
set shell "/usr/bin/bash"

preview my_epub .epub {{
preview epub .epub {{
a="$((w*h))"
[[ "${a}" -gt 500 ]] && a="500"
gnome-epub-thumbnailer -s "${a}" "${f}" "${cache_f}.png"
setup_image
send_image "${cache_f}.png"
}}

preview mygzip .gz {{
preview gzip application/gzip {{
zcat "${f}"
}}

preview pygm .log {{
preview log text/x-log {{
pygmentize "${f}"
}}

preview myjs .js .json .html {{
preview jshtml .js .json .html {{
highlight "${f}" --stdout --out-format="ansi"
}}

preview mylua .lua {{
preview lua .lua {{
highlight "${f}" --stdout --out-format="ansi"
}}

Expand Down
8 changes: 5 additions & 3 deletions i3wm/regular_bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $Br v $_ split v
$Br w $_ layout tabbed
$Br x $_ exec $monitor_script 'rotate' '$MON_1' 'right'
$Br y $_ exec $xmsg_script "Freekey"; mode freekey
$Br z $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' nvim -p "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.html" "$HOME/.config/BraveSoftware/new_tab_page/new_tab_page.css"
$Br z $_ exec /usr/local/bin/st -c 'special_float' -n 'i3s_note' /usr/bin/env nvim -O "file:///$HOME/Desktop/Coding/WEB_BROWSER/Firefox/"*

#bindsym button9 $_ exec screengrab
$Mb button9 $_ exec screengrab
Expand All @@ -89,12 +89,13 @@ $SF m $_ floating enable, $scratchpad_default, move position c
$SF n $_ exec /usr/local/bin/st -c 'special_note' -n 'i3s_note' nvim "$HOME/Documents/Notepad/note.txt"
$SF p $_ exec /usr/bin/brave --incognito
$SF q $_ kill
$SF t $_ exec /usr/bin/torbrowser-launcher; exec sleep 1 && i3-msg '[class="Tor Browser"] scratchpad show'
$SF t $_ exec /usr/bin/torbrowser-launcher
$SF u $_ exec /usr/bin/kitty --title='i3s_kitty_term'
$SF v $_ split h
$SF x $_ exec $clipboard_script "DATE" "TIME"

$SF_CTRL e $_ exec $zathura_script -o
$SF_CTRL d $_ exec $border_script
$SF_CTRL h $B1 move left 20px
$SF_CTRL j $B1 move down 20px
$SF_CTRL k $B1 move up 20px
Expand All @@ -108,7 +109,8 @@ $Br Up $_ exec "pulseaudio-ctl 'up' || pamixer --increase 1"
$Br Down $_ exec "pulseaudio-ctl 'down' || pamixer --decrease 1"
$Br minus $_ exec $refresh_script --hard "$BROWSER"
$Br period $_ gaps inner all toggle $IN_GAPS, gaps bottom all toggle $BOT_GAPS, gaps left all toggle $L_GAPS, gaps top all toggle $TOP_GAPS, gaps right all toggle $R_GAPS
$Br Return $_ exec /usr/local/bin/st
#$Br Return $_ exec /usr/local/bin/st
$Br Return $_ exec /usr/bin/kitty
$Br slash $_ exec $xmsg_script "Polymove"; mode polymove
$Br space $B1 focus mode_toggle
$SF Up $_ exec $wallpaper_script "UP"
Expand Down
14 changes: 9 additions & 5 deletions kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@
# url_style: none, straight, double, curly, dotted, dashed.
# Appearance #
foreground #bbbbbb
background_opacity 1
background_image $HOME/.config/kitty/KITTY_BACKGROUND/11.png
background_image_layout cscaled
background_opacity 0.94
#background_image $HOME/.config/kitty/KITTY_BACKGROUND/7.png
#background_image_layout cscaled
# tiled, mirror-tiled, scaled, clamped, centered
background_tint 0.97
background_blur 0
background_tint_gaps 1.0
background #000000
#dim_opacity 0.9
window_border_width 0.5pt
window_margin_width 10.0
#window_border_width 5px
#draw_minimal_borders no
#inactive_border_color #cccccc
# active_border_color #00ff00
# Tabs
tab_title_max_length 20
tab_bar_style slant
tab_bar_style powerline
#: fade
#: Each tab's edges fade into the background color. (See also tab_fade)
#: slant
Expand Down Expand Up @@ -79,6 +82,7 @@
# Mappings #
kitty_mod super
map kitty_mod+f1 load_config_file
map kitty_mod+n launch --cwd=current
map ctrl+equal change_font_size all +2.0
map ctrl+plus change_font_size all +2.0
map ctrl+minus change_font_size all -2.0
Expand Down
Loading

0 comments on commit 3618467

Please sign in to comment.