Skip to content

Commit

Permalink
Add vim plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Nov 5, 2024
1 parent 63cce06 commit 54f805f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Arch-Linux/Sway.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ sudo vim /etc/fstab
- Main packages:

```bash
sudo pacman -S capitaine-cursors ccid discord distrobox docker fastfetch firefox firejail htop keepassxc mpv noto-fonts-emoji orchis-theme plocate powerline-fonts protonmail-bridge rsync speedcrunch steam systray-x tela-circle-icon-theme-blue thunderbird tmux ttf-font-awesome virt-viewer wl-clip-persist xorg-xwayland yubico-piv-tool zathura zathura-pdf-poppler
paru -S arch-update firefox-pwa onlyoffice-bin ventoy-bin zaman
sudo pacman -S capitaine-cursors ccid discord distrobox docker fastfetch firefox firejail htop keepassxc mpv noto-fonts-emoji orchis-theme plocate powerline-fonts protonmail-bridge rsync speedcrunch steam systray-x tela-circle-icon-theme-blue thunderbird tmux ttf-font-awesome ttf-nerd-fonts-symbols-mono vim-auto-pairs vim-devicons vim-nerdtree virt-viewer wl-clip-persist xorg-xwayland yubico-piv-tool zathura zathura-pdf-poppler
paru -S arch-update firefox-pwa nerdtree-git-plugin-git onlyoffice-bin ventoy-bin zaman
sudo pacman -S --asdeps gnome-keyring gnu-free-fonts qt6-wayland ttf-dejavu xdg-utils wofi # Optional dependencies I need for the above packages
systemctl --user enable --now arch-update.timer ssh-agent.service
sudo systemctl enable --now apparmor docker pcscd
Expand Down
4 changes: 2 additions & 2 deletions Arch-Linux/i3.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ sudo vim /etc/fstab
- Main packages:

```bash
sudo pacman -S capitaine-cursors ccid discord distrobox docker fastfetch firefox firejail htop keepassxc mpv noto-fonts-emoji orchis-theme plocate powerline-fonts protonmail-bridge rofi rsync speedcrunch steam systray-x tela-circle-icon-theme-blue thunderbird tmux ttf-font-awesome virt-viewer xclip xorg-xhost yubico-piv-tool zathura zathura-pdf-poppler
paru -S arch-update firefox-pwa onlyoffice-bin pa-applet-git ventoy-bin zaman
sudo pacman -S capitaine-cursors ccid discord distrobox docker fastfetch firefox firejail htop keepassxc mpv noto-fonts-emoji orchis-theme plocate powerline-fonts protonmail-bridge rofi rsync speedcrunch steam systray-x tela-circle-icon-theme-blue thunderbird tmux ttf-font-awesome ttf-nerd-fonts-symbols-mono vim-auto-pairs vim-devicons vim-nerdtree virt-viewer xclip xorg-xhost yubico-piv-tool zathura zathura-pdf-poppler
paru -S arch-update firefox-pwa nerdtree-git-plugin-git onlyoffice-bin pa-applet-git ventoy-bin zaman
sudo pacman -S --asdeps gnome-keyring gnu-free-fonts ttf-dejavu xdg-utils # Optional dependencies I need for the above packages
systemctl --user enable --now arch-update.timer ssh-agent.service
sudo systemctl enable --now apparmor docker pcscd
Expand Down
12 changes: 12 additions & 0 deletions Dotfiles/General/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ set smartindent
"Enable mouse support
set mouse=a

"Enable code folding support
set foldmethod=manual

"Increase the default number of lines saved in the buffer
set viminfo='100,<10000,s10,h

Expand All @@ -56,3 +59,12 @@ autocmd FileType conf set ft=confini

"Automatically set list for markdown files (useful to see double spaces at the end of a line to insert a new line)
autocmd FileType markdown set list

"Automatically open NERDTree
autocmd VimEnter * NERDTree | wincmd p

"Toggle NERDTree with CTRL + E
:nnoremap <C-e> :NERDTreeToggle<CR>
"Exit Vim if NERDTree is the only window remaining in the only tab
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | call feedkeys(":quit\<CR>:\<BS>") | endif
4 changes: 3 additions & 1 deletion Dotfiles/General/xfce4-terminal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<property name="misc-mouse-autohide" type="bool" value="false"/>
<property name="misc-mouse-wheel-zoom" type="bool" value="true"/>
<property name="misc-toolbar-default" type="bool" value="false"/>
<property name="misc-confirm-close" type="bool" value="true"/>
<property name="misc-confirm-close" type="bool" value="false"/>
<property name="misc-cycle-tabs" type="bool" value="true"/>
<property name="misc-tab-close-buttons" type="bool" value="true"/>
<property name="misc-tab-close-middle-click" type="bool" value="true"/>
Expand All @@ -36,4 +36,6 @@
<property name="misc-right-click-action" type="string" value="TERMINAL_RIGHT_CLICK_ACTION_CONTEXT_MENU"/>
<property name="scrolling-bar" type="string" value="TERMINAL_SCROLLBAR_NONE"/>
<property name="title-mode" type="string" value="TERMINAL_TITLE_HIDE"/>
<property name="font-use-system" type="bool" value="false"/>
<property name="font-name" type="string" value="Monospace 12"/>
</channel>

0 comments on commit 54f805f

Please sign in to comment.