feat(vim) vim config and update install.sh and update.sh
This commit is contained in:
parent
c3389bca33
commit
d00b85784e
4 changed files with 60 additions and 9 deletions
30
.vimrc
Normal file
30
.vimrc
Normal 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
|
|
@ -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)
|
||||
|
||||
|
||||
## Technologies
|
||||
|
||||
|
||||
> WM: `i3 gaps`
|
||||
>
|
||||
> Lockscreen: `LightDM`
|
||||
|
|
24
install.sh
24
install.sh
|
@ -1,6 +1,9 @@
|
|||
cp $HOME/dotfiles/config/polybar/config.ini $HOME/.config/polybar/config.ini
|
||||
cp $HOME/dotfiles/config/i3/config $HOME/.config/i3/config
|
||||
cp $HOME/dotfiles/config/picom/picom.conf $HOME/.config/picom/picom.conf
|
||||
dotfiles=$HOMES/dotfiles
|
||||
|
||||
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
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
|
@ -10,10 +13,23 @@ cd ..
|
|||
rm -fr yay/
|
||||
|
||||
# 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
|
||||
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
||||
|
||||
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
|
||||
|
||||
|
|
13
update.sh
13
update.sh
|
@ -1,4 +1,11 @@
|
|||
cp $HOME/.config/polybar/config.ini $HOME/dotfiles/polybar/config.ini
|
||||
cp $HOME/.config/i3/config $HOME/dotfiles/i3/config
|
||||
cp $HOME/.config/picom/picom.conf $HOME/dotfiles/picom/picom.conf
|
||||
dotfiles=$HOME/dotfiles
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue