feat(vim) vim config and update install.sh and update.sh

This commit is contained in:
Anhgelus Morhtuuzh 2023-03-15 15:15:03 +01:00
parent c3389bca33
commit d00b85784e
No known key found for this signature in database
GPG key ID: 7765EC9C8383805F
4 changed files with 60 additions and 9 deletions

30
.vimrc Normal file
View file

@ -0,0 +1,30 @@
set nocompatible " be iMproved, required
filetype off " required
syntax on
colorscheme onedark
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugins
Plugin 'godlygeek/tabular'
" Plugin 'preservim/vim-markdown'
Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax'
call vundle#end() " required
filetype plugin indent on " required
set number relativenumber
nnoremap <C-Left> :tabprevious<CR>
nnoremap <C-Right> :tabnext<CR>
nnoremap <C-j> :tabprevious<CR>
nnoremap <C-k> :tabnext<CR>
set shell=/bin/bash

View file

@ -33,10 +33,8 @@ Every tag of this repository must follow these guidelines:
`15.1-march-2023` is for the second version of the 03/15/2023 (MM-DD-YYYY) or 15/03/2023 (DD-MM-YYYY) `15.1-march-2023` is for the second version of the 03/15/2023 (MM-DD-YYYY) or 15/03/2023 (DD-MM-YYYY)
## Technologies ## Technologies
> WM: `i3 gaps` > WM: `i3 gaps`
> >
> Lockscreen: `LightDM` > Lockscreen: `LightDM`

View file

@ -1,6 +1,9 @@
cp $HOME/dotfiles/config/polybar/config.ini $HOME/.config/polybar/config.ini dotfiles=$HOMES/dotfiles
cp $HOME/dotfiles/config/i3/config $HOME/.config/i3/config
cp $HOME/dotfiles/config/picom/picom.conf $HOME/.config/picom/picom.conf cp $dotfiles/config/polybar/config.ini $HOME/.config/polybar/config.ini
cp $dotfiles/config/i3/config $HOME/.config/i3/config
cp $dotfiles/config/picom/picom.conf $HOME/.config/picom/picom.conf
sudo cp $dotfiles/etc/lightdm/slick-greeter.conf /etc/lightdm/slick-greeter.conf
# Install yay # Install yay
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/yay.git
@ -10,10 +13,23 @@ cd ..
rm -fr yay/ rm -fr yay/
# Install basic apps # Install basic apps
yay -Sy snap amberol flatpak picom-jonaburg-git polybar rofi feh xbindkeys alacritty fish xclip yay -Sy snap flatpak picom-jonaburg-git polybar rofi feh xbindkeys alacritty fish xclip
flatpak install io.bassi.Amberol
# Install oh my fish and setup the fish's theme # Install oh my fish and setup the fish's theme
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
omf install slacker && omf theme slacker omf install slacker && omf theme slacker
# Install vim config
cp $dotfiles/.vimrc $HOME/.vimrc
mkdir -p $HOME/.vim/colors $HOME/.vim/autoload
# Install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Install all vim plugins
vim +PluginInstall +qall
# Install vim theme
curl https://raw.githubusercontent.com/joshdick/onedark.vim/main/colors/onedark.vim > $HOME/.vim/colors/onedark.vim
curl https://raw.githubusercontent.com/joshdick/onedark.vim/main/autoload/onedark.vim > $HOME/.vim/autoload/onedark.vim

View file

@ -1,4 +1,11 @@
cp $HOME/.config/polybar/config.ini $HOME/dotfiles/polybar/config.ini dotfiles=$HOME/dotfiles
cp $HOME/.config/i3/config $HOME/dotfiles/i3/config
cp $HOME/.config/picom/picom.conf $HOME/dotfiles/picom/picom.conf # Config
cp $HOME/.config/polybar/config.ini $dotfiles/config/polybar/config.ini
cp $HOME/.config/i3/config $dotfiles/config/i3/config
cp $HOME/.config/picom/picom.conf $dotfiles/config/picom/picom.conf
cp /etc/lightdm/slick-greeter.conf $dotfiles/etc/lightdm/slick-greeter.conf
# Vim
cp $HOME/.vimrc $dotfiles/.vimrc