Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
620ce0bc92 | |||
0eae6eda4b |
5 changed files with 147 additions and 13 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -3,3 +3,8 @@ ncmpcpp/error.log
|
||||||
emacs/auto-save-list/
|
emacs/auto-save-list/
|
||||||
emacs/elpa/
|
emacs/elpa/
|
||||||
emacs/melpa/
|
emacs/melpa/
|
||||||
|
|
||||||
|
.vim/plugged/
|
||||||
|
.vim/.netrwhist
|
||||||
|
.vim/*.swp
|
||||||
|
.vim/autoload/plug.vim
|
||||||
|
|
102
.vim/vimrc
Normal file
102
.vim/vimrc
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
" Use the default config as base because lazy lazy
|
||||||
|
unlet! skip_defaults_vim
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
|
||||||
|
""
|
||||||
|
" General stuffies
|
||||||
|
""
|
||||||
|
if has('termguicolors') " if terminal supports truecolor enable it
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
|
||||||
|
filetype plugin on
|
||||||
|
set number " blub- plain numbering on the left, nothin fancy
|
||||||
|
set splitbelow splitright " spawn splits where I expect them to be..
|
||||||
|
syntax enable
|
||||||
|
set title
|
||||||
|
set autoread " automagically reload files if edited elsewhere
|
||||||
|
|
||||||
|
" Indenting settings :o
|
||||||
|
set tabstop=4
|
||||||
|
set expandtab
|
||||||
|
set shiftwidth=4
|
||||||
|
set autoindent
|
||||||
|
set smartindent
|
||||||
|
set confirm " ask for comfirmation to save a file before quitting
|
||||||
|
|
||||||
|
""
|
||||||
|
" Loading plugins woaaahh (VimPlug)
|
||||||
|
""
|
||||||
|
|
||||||
|
|
||||||
|
call plug#begin()
|
||||||
|
Plug 'mhinz/vim-signify' " show uncommited changes
|
||||||
|
Plug 'ntpeters/vim-better-whitespace' " Whitespace Highlighting
|
||||||
|
Plug 'preservim/nerdcommenter' " I am lazy with commenting
|
||||||
|
Plug 'lambdalisue/fern.vim' " File manager, file tree sidebar, fancy thing
|
||||||
|
Plug 'junegunn/fzf.vim' " fuzzy find files, very handy
|
||||||
|
Plug 'jiangmiao/auto-pairs' " I like my brackets and quotes to double down
|
||||||
|
Plug 'vimwiki/vimwiki' " it's, like, for taking notes
|
||||||
|
Plug 'wincent/terminus' " makes vim in terminal nicer! btw this makes the cursor change shape :3
|
||||||
|
Plug 'voldikss/vim-floaterm'
|
||||||
|
Plug 'moll/vim-bbye' " retain windows when deleting buffers
|
||||||
|
|
||||||
|
let g:polyglot_disabled = ['autoindent'] " disable autoindent polyglot's autoindent cause bleh
|
||||||
|
Plug 'https://github.com/sheerun/vim-polyglot' " Many many little language gremlins in a trenchcoat
|
||||||
|
|
||||||
|
" Fancy status bar
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
|
||||||
|
" Theme
|
||||||
|
Plug 'ghifarit53/tokyonight-vim'
|
||||||
|
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline_powerline_fonts = 0
|
||||||
|
set noshowmode " Airline already shows the mode
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
" Set the theme! it be really comfi
|
||||||
|
colorscheme tokyonight
|
||||||
|
|
||||||
|
" spawn fzf on the bottom of the editor instead of a popup in the middle
|
||||||
|
let g:fzf_layout = { 'down': '40%' }
|
||||||
|
|
||||||
|
""
|
||||||
|
" Key binds stuffies
|
||||||
|
""
|
||||||
|
|
||||||
|
" leader key
|
||||||
|
let mapleader=" "
|
||||||
|
|
||||||
|
" Reload this very config file
|
||||||
|
nmap <leader>cr :source ~/.vim/vimrc<CR>
|
||||||
|
" Open this very config file
|
||||||
|
nmap <leader>ce :e ~/.vim/vimrc<CR>
|
||||||
|
|
||||||
|
" Fern sidebar
|
||||||
|
nmap <leader>ff :Fern . -drawer<CR>
|
||||||
|
nmap <leader>ft :Fern . -drawer -toggle<CR>
|
||||||
|
|
||||||
|
" Buffer stuff
|
||||||
|
nmap <leader>bl :buffers<CR>
|
||||||
|
nmap <leader>bb :Buffers<CR>
|
||||||
|
nmap <leader>bd :Bdelete<CR>
|
||||||
|
nmap <leader>bn :bNext<CR>
|
||||||
|
nmap <leader>bp :bPrevious<CR>
|
||||||
|
|
||||||
|
" Toggle spell checking
|
||||||
|
map <leader>tse :setlocal spell! spelllang=en<CR>
|
||||||
|
map <leader>tsr :setlocal spell! spelllang=ro<CR>
|
||||||
|
|
||||||
|
" Manouver files
|
||||||
|
nmap <leader>fw :w<CR>
|
||||||
|
nmap <leader>. :cd<space>
|
||||||
|
nmap <leader><leader> :Files<CR>
|
||||||
|
|
||||||
|
" Open lazygit
|
||||||
|
nmap <leader>gg :FloatermNew lazygit<CR>
|
||||||
|
|
||||||
|
" Exit vim entirely
|
||||||
|
nmap <leader>qq :qa<CR>
|
||||||
|
" Exit vim forcefuly!!
|
||||||
|
nmap <leader>qQ :qa!<CR>
|
23
.zprofile
23
.zprofile
|
@ -1,18 +1,19 @@
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin:$HOME/flutter/bin
|
||||||
|
|
||||||
# Default programs:
|
# Default programs:
|
||||||
export EDITOR="nvim"
|
export EDITOR="vim"
|
||||||
export TERMINAL="foot"
|
#export TERMINAL="foot"
|
||||||
export BROWSER="firefox-bin"
|
#export BROWSER="firefox-bin"
|
||||||
export BROWSER2="chromium"
|
#export BROWSER2="chromium"
|
||||||
export READER="xreader"
|
#export READER="xreader"
|
||||||
export FILEMANAGER="pcmanfm-qt"
|
#export FILEMANAGER="dolphin"
|
||||||
|
|
||||||
#export QT_STYLE_OVERRIDE=kvantum
|
#export QT_STYLE_OVERRIDE=kvantum
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
#export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
#export DESKTOP_SESSION=KDE
|
#export DESKTOP_SESSION=KDE
|
||||||
|
|
||||||
# If running from tty1 start sway
|
# If running from tty1 start sway
|
||||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
#if [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
startsway
|
# #startsway
|
||||||
fi
|
# exec dbus-launch --exit-with-session startplasma-wayland
|
||||||
|
#fi
|
||||||
|
|
|
@ -28,5 +28,5 @@ What I use right now (stuff I have to install on a fresh linux install):
|
||||||
* **DASH set as /bin/sh** (Arch Linux) (! Some scripts won't run corectly if they are run by bash)
|
* **DASH set as /bin/sh** (Arch Linux) (! Some scripts won't run corectly if they are run by bash)
|
||||||
|
|
||||||
### Some screenshots, yoo
|
### Some screenshots, yoo
|
||||||
![screenshot1](https://git.vibb.ro/dotfiles/plain/screenshot1.png)
|
![screenshot1](screenshot1.png)
|
||||||
![screenshot2](https://git.vibb.ro/dotfiles/plain/screenshot2.png)
|
![screenshot2](screenshot2.png)
|
||||||
|
|
26
install.sh
26
install.sh
|
@ -22,9 +22,35 @@ read choice
|
||||||
|
|
||||||
if [ "$choice" = "y" ]
|
if [ "$choice" = "y" ]
|
||||||
then
|
then
|
||||||
|
echo "Now, are what are you installing this on?"
|
||||||
|
echo "1 - desktop"
|
||||||
|
echo "2 - laptop"
|
||||||
|
read device
|
||||||
|
|
||||||
|
while :
|
||||||
|
do
|
||||||
|
case $device in
|
||||||
|
1)
|
||||||
|
echo "installing desktop specific bits"
|
||||||
|
# just plop desktop configs here idk
|
||||||
|
|
||||||
|
;;
|
||||||
|
2)
|
||||||
|
echo "installing laptop specific bits"
|
||||||
|
# or plop lapop configs here
|
||||||
|
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "wot?"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
gohome .zshrc
|
gohome .zshrc
|
||||||
gohome .zprofile
|
gohome .zprofile
|
||||||
gohome .doom.d
|
gohome .doom.d
|
||||||
|
gohome .vim
|
||||||
|
|
||||||
goconfig dunst
|
goconfig dunst
|
||||||
goconfig foot
|
goconfig foot
|
||||||
|
|
Loading…
Reference in a new issue