Compare commits

...

10 Commits

Author SHA1 Message Date
Juan Shotyou
0fbd88a5e5 Edited script + added required fonts into repo 2024-09-02 16:51:50 +01:00
Juan Shotyou
bfbdd11df8 Merge branch 'main' of https://github.com/juanshotyou/juanshot-dotenv 2024-09-01 20:38:14 +01:00
Juan Shotyou
96b975c1f9 Enabled vim relative line numbers 2024-09-01 20:37:38 +01:00
Vlad R
1003e7d2d9 Added the Plug setup step to the setup script + instructions 2024-08-28 12:14:02 +00:00
Juan Shotyou
29a1c649a1 changed ALE config to limit used linters for Python and Go 2024-08-26 17:13:05 +01:00
Juan Shotyou
1d7cd7f367 Added ALE for syntax checking 2024-08-26 16:28:13 +01:00
Juan Shotyou
3d1081f7c6 enabled mouse mode lol 2024-08-25 22:42:02 +01:00
Juan Shotyou
e90d79e7ec Added tmux tpm and gruvbox 2024-08-25 21:01:22 +01:00
Juan Shotyou
8edfb474ce Moved to dark mode theme 2024-08-25 16:31:30 +01:00
Juan Shotyou
c4be65c0b9 Fixed tmux issue + added more plugins 2024-08-25 14:36:11 +01:00
4 changed files with 42 additions and 6 deletions

View File

@ -35,3 +35,22 @@ set-window-option -g pane-base-index 1
# Move to next/previous window with Alt+k/Alt+j # Move to next/previous window with Alt+k/Alt+j
bind -n M-j previous-window bind -n M-j previous-window
bind -n M-k next-window bind -n M-k next-window
# Fix tmux color issue for vim
set -g default-terminal "xterm-256color"
# Enable mouse mode
set -g mouse on
# Tmux Plugin Manager
# Note: Clone https://github.com/tmux-plugins/tpm to ~/.tmux/plugins/tpm first
set -g @plugin 'tmux-plugins/tpm'
# Theme
set -g @plugin 'egel/tmux-gruvbox'
set -g @tmux-gruvbox 'dark'
#set -g @plugin 'jimeh/tmux-themepack'
#set -g @themepack 'powerline/double/magenta'
# Load Tmux Plugin Manager (keep this at the end)
run '~/.tmux/plugins/tpm/tpm'

View File

@ -28,10 +28,12 @@ set history=10000 " Set the commands to save in history default number is 20.
set wildmenu " Enable auto completion menu after pressing TAB. set wildmenu " Enable auto completion menu after pressing TAB.
set wildmode=list:longest " Make wildmenu behave like similar to Bash completion. set wildmode=list:longest " Make wildmenu behave like similar to Bash completion.
set title " Show file title set title " Show file title
set cc=100 " Enable visual limit at 100 chars for good code formatting practice
set guifont=hack_nerd_font:h11 set guifont=hack_nerd_font:h11
" set cc=100 " Enable visual limit at 100 chars for good code formatting practice set bg=dark
set relativenumber
let g:kite_supported_languages = ['python', 'javascript'] let g:kite_supported_languages = ['python', 'javascript', 'go']
" There are certain files that we would never want to edit with Vim. " There are certain files that we would never want to edit with Vim.
@ -46,8 +48,8 @@ call plug#begin('~/.vim/autoload/plug')
Plug 'davidhalter/jedi-vim' Plug 'davidhalter/jedi-vim'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'preservim/nerdtree'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'preservim/nerdtree'
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
Plug 'ryanoasis/vim-devicons' Plug 'ryanoasis/vim-devicons'
@ -55,12 +57,15 @@ Plug 'scrooloose/nerdcommenter'
Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'PhilRunninger/nerdtree-visual-selection' Plug 'PhilRunninger/nerdtree-visual-selection'
Plug 'tpope/vim-fugitive'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
Plug 'dense-analysis/ale'
call plug#end() call plug#end()
" Plugin configs " Plugin configs
colorscheme gruvbox
let g:bargreybars_auto=0 let g:bargreybars_auto=0
let g:airline_solorized_bg='dark' let g:airline_solorized_bg='dark'
let g:airline_powerline_fonts=1 let g:airline_powerline_fonts=1
@ -69,12 +74,20 @@ let g:airline#extension#tabline#left_sep=' '
let g:airline#extension#tabline#left_alt_sep='|' let g:airline#extension#tabline#left_alt_sep='|'
let g:airline#extension#tabline#formatter='unique_tail' let g:airline#extension#tabline#formatter='unique_tail'
let NERDTreeQuitOnOpen=1 let NERDTreeQuitOnOpen=1
let g:WebDevIconsUnicodeDecorateFolderNodes = 1 let g:WebDevIconsUnicodeDecorateFolderNodes = 1
let g:WebDevIconsUnicodeDecorateFolderNodeDefaultSymbol = '#' let g:WebDevIconsUnicodeDecorateFolderNodeDefaultSymbol = '#'
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {} let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols = {}
let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['nerdtree'] = '#' let g:WebDevIconsUnicodeDecorateFileNodesExtensionSymbols['nerdtree'] = '#'
let g:ale_virtualtext_cursor = 'current'
let g:ale_linters = {
\ 'python': ['flake8', 'pylint'],
\ 'go': ['vet', 'errcheck'],
\}
let g:ale_python_flake8_options = '--ignore=E501'
let g:ale_echo_msg_format = '[%linter%] [%severity%] %code% %s'
let g:gruvbox_contrast_dark = 'soft'
colorscheme gruvbox
" " }}} " " }}}

View File

@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
rsync -ax --exclude ./.git --exclude setup_dotenv_files.sh ./ ~/ rsync -ax --exclude .git --exclude setup_dotenv_files.sh --exclude vim_fonts ./ ~/
curl --no-progress-meter -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo 'For VIM: Remember to run ":PlugInstall" on first run to set up the themes and plugins!'

BIN
vim_fonts/Hack.zip Normal file

Binary file not shown.