- Combined .gitignore files into one and moved to common directory

- New plugins and themes added to vim
- Copied over some useful plugins to ideavimrc
- Added docker and autosuggest plugins to zsh
This commit is contained in:
Pratik Tripathy
2023-10-27 15:52:57 +05:30
parent 306fcd5c23
commit 186fb89a2d
10 changed files with 140 additions and 101 deletions

55
.gitignore vendored
View File

@@ -7,7 +7,6 @@
# Icon must end with two \r
Icon
# Thumbnails
._*
@@ -27,6 +26,27 @@ Network Trash Folder
Temporary Items
.apdisk
# ---- KDE Neon ----
# KDE directory preferences
.directory
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# ---- IDE ----
# VS Code Artifacts
.vscode
**state.vscdb
@@ -34,6 +54,19 @@ Temporary Items
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
# Intellij IDE Artifacts
.idea/
*.imi
*.jar
*.tar
# Vim Artifacts
*.swp
resharper-host/
tasks/
# ---- Programming Languages ----
# Ignore all downloaded node modules
node_modules/*
@@ -52,23 +85,3 @@ node_modules/*
**/contents/images
**/contents/fonts
*kpluginindex.json
# Intellij IDE Artifacts
.idea/
*.imi
*.jar
*.tar
# KDE directory preferences
.directory
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
resharper-host/
tasks/

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
common/.env Executable file → Normal file
View File

View File

@@ -7,7 +7,6 @@
# Icon must end with two \r
Icon
# Thumbnails
._*
@@ -27,6 +26,27 @@ Network Trash Folder
Temporary Items
.apdisk
# ---- KDE Neon ----
# KDE directory preferences
.directory
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# ---- IDE ----
# VS Code Artifacts
.vscode
**state.vscdb
@@ -34,6 +54,19 @@ Temporary Items
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
# Intellij IDE Artifacts
.idea/
*.imi
*.jar
*.tar
# Vim Artifacts
*.swp
resharper-host/
tasks/
# ---- Programming Languages ----
# Ignore all downloaded node modules
node_modules/*
@@ -52,21 +85,3 @@ node_modules/*
**/contents/images
**/contents/fonts
*kpluginindex.json
# Intellij IDE Artifacts
.idea/
*.imi
*.jar
*.tar
# KDE directory preferences
.directory
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*

View File

@@ -21,6 +21,9 @@ set incsearch
" Don't use Ex mode, use Q for formatting.
map Q gq
" Copy to and from system clipboard
set clipboard^=unnamed,unnamedplus
" --- Enable IdeaVim plugins https://jb.gg/ideavim-plugins
" Highlight copied text
@@ -29,6 +32,11 @@ Plug 'machakann/vim-highlightedyank'
Plug 'tpope/vim-commentary'
" Surround Plugin
Plug 'tpope/vim-surround'
" Repeat for Surround
Plug 'tpope/vim-repeat'
" Paragraph Motion
Plug 'dbakker/vim-paragraph-motion'
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
"" Map \r to the Reformat Code action

View File

@@ -16,7 +16,18 @@ set wrap
set encoding=utf-8
" Status bar
set laststatus=2
" set laststatus=2
" set noshowmode
" Set color
if !has('gui_running')
set t_Co=256
set termguicolors
hi LineNr ctermbg=NONE guibg=NONE
endif
" Comments in Grey color and italic
hi Comment guifg=#5C6370 ctermfg=50 cterm=italic
" Vim is based on Vi. Setting `nocompatible` switches from the default
" Vi-compatibility mode and enables useful Vim functionality. This
@@ -71,6 +82,12 @@ set noerrorbells visualbell t_vb=
" sometimes be convenient.
set mouse+=a
" Sync vim clipboard with system clipboard
" Works across Linux, MacOS & Windows
" set clipboard^=unnamed,unnamedplus
set clipboard+=unnamedplus
set paste
" Try to prevent bad habits like using the arrow keys for movement. This is
" not the only possible bad habit. For example, holding down the h/j/k/l keys
" for movement, rather than using more efficient movement commands, is also a
@@ -95,3 +112,7 @@ nnoremap <C-u> <C-u>zz
if filereadable(expand("~/.vimrc.plug"))
source ~/.vimrc.plug
endif
" let g:lightline = { 'colorscheme': 'gotham'}
let g:lightline = { 'colorscheme': 'deepspace'}
colorscheme deep-space

View File

@@ -6,9 +6,18 @@ Plug 'tpope/vim-fugitive'
" Surround Plugin
Plug 'tpope/vim-surround'
" Repeat for the surround plugin
Plug 'tpope/vim-repeat'
" Surround Plugin
Plug 'tpope/vim-commentary'
" Sensible options
Plug 'tpope/vim-sensible'
" Auto-close brackets
Plug 'rstacruz/vim-closer'
" Highlight Yank
Plug 'machakann/vim-highlightedyank'
@@ -18,7 +27,29 @@ Plug 'dbakker/vim-paragraph-motion'
" Quick Scope
" Plug 'unblevable/quick-scope'
" Paragraph Motion
Plug 'dbakker/vim-paragraph-motion'
" Git in the left-side gutter
Plug 'airblade/vim-gitgutter'
" Rainbow parenthesis
Plug 'junegunn/rainbow_parentheses.vim'
" Highlight trailing spaces - remove them all with :FixWhitespace
Plug 'bronson/vim-trailing-whitespace'
"------------Look and Feel------------"
" Status Styles
Plug 'itchyny/lightline.vim'
" ColorScheme - Challenger-deep
Plug 'challenger-deep-theme/vim', { 'as': 'challenger-deep' }
" Color Scheme - Iceberg
Plug 'cocopon/iceberg.vim'
" Color Scheme - Gotham
Plug 'whatyouhide/vim-gotham'
" Color Scheme - Deep-space
Plug 'tyrannicaltoucan/vim-deep-space'
call plug#end()

View File

@@ -52,12 +52,14 @@ HIST_STAMPS="dd.mm.yyyy"
# source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
plugins=(
git
docker
history
per-directory-history
perms
sudo
systemd
# zsh-syntax-highlighting
zsh-syntax-highlighting
zsh-autosuggestions
# exercism
)
@@ -101,6 +103,9 @@ setopt HIST_IGNORE_SPACE # Don't add commands that start with whitespac
[[ ! -f ~/.env ]] || source ~/.env
[[ ! -f ~/.set_path ]] || source ~/.set_path
[[ ! -f "$HOME/.cargo/env" ]] || source "$HOME/.cargo/env"
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
PATH=$(pyenv root)/shims:$PATH
# Aliases
@@ -116,5 +121,5 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
[[ ! -f ~/.config/exercism/exercism_completion.bash ]] || source ~/.config/exercism/exercism_completion.bash
eval "$(ssh-agent -s)"
eval "$(ssh-agent -s)" > /dev/null
ulimit -n 10240

54
kde-neon/.gitignore vendored
View File

@@ -1,54 +0,0 @@
# KDE directory preferences
.directory
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
# VS Code Artifacts
.vscode
**state.vscdb
**state.vscdb.backup
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Ignore all downloaded node modules
node_modules/*
# Ignore all minified js files
*.min.js
# Other Files to ignore
**app_stat_v2.db
.ssh/*.pub
**/Package Control.cache
**Cache
*.db
*.qmlc
*.qml
*.jsc
**/contents/images
**/contents/fonts
*kpluginindex.json
# Intellij IDE Artifacts
.idea/
*.imi
*.jar
*.tar
resharper-host/
tasks/