mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- 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:
55
.gitignore
vendored
55
.gitignore
vendored
@@ -7,7 +7,6 @@
|
|||||||
# Icon must end with two \r
|
# Icon must end with two \r
|
||||||
Icon
|
Icon
|
||||||
|
|
||||||
|
|
||||||
# Thumbnails
|
# Thumbnails
|
||||||
._*
|
._*
|
||||||
|
|
||||||
@@ -27,6 +26,27 @@ Network Trash Folder
|
|||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.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
|
# VS Code Artifacts
|
||||||
.vscode
|
.vscode
|
||||||
**state.vscdb
|
**state.vscdb
|
||||||
@@ -34,6 +54,19 @@ Temporary Items
|
|||||||
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
|
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
|
||||||
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
|
!.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
|
# Ignore all downloaded node modules
|
||||||
node_modules/*
|
node_modules/*
|
||||||
|
|
||||||
@@ -52,23 +85,3 @@ node_modules/*
|
|||||||
**/contents/images
|
**/contents/images
|
||||||
**/contents/fonts
|
**/contents/fonts
|
||||||
*kpluginindex.json
|
*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
common/.env
Executable file → Normal file
0
common/.env
Executable file → Normal file
53
macos/.gitignore → common/.gitignore
vendored
53
macos/.gitignore → common/.gitignore
vendored
@@ -7,7 +7,6 @@
|
|||||||
# Icon must end with two \r
|
# Icon must end with two \r
|
||||||
Icon
|
Icon
|
||||||
|
|
||||||
|
|
||||||
# Thumbnails
|
# Thumbnails
|
||||||
._*
|
._*
|
||||||
|
|
||||||
@@ -27,6 +26,27 @@ Network Trash Folder
|
|||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.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
|
# VS Code Artifacts
|
||||||
.vscode
|
.vscode
|
||||||
**state.vscdb
|
**state.vscdb
|
||||||
@@ -34,6 +54,19 @@ Temporary Items
|
|||||||
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
|
.vscode/extensions/** # Ignore all Files under .vscode/extensions/
|
||||||
!.vscode/extensions/**/*.json # Only json files inside the .vscode/extensions/ folder
|
!.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
|
# Ignore all downloaded node modules
|
||||||
node_modules/*
|
node_modules/*
|
||||||
|
|
||||||
@@ -52,21 +85,3 @@ node_modules/*
|
|||||||
**/contents/images
|
**/contents/images
|
||||||
**/contents/fonts
|
**/contents/fonts
|
||||||
*kpluginindex.json
|
*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*
|
|
||||||
@@ -21,6 +21,9 @@ set incsearch
|
|||||||
" Don't use Ex mode, use Q for formatting.
|
" Don't use Ex mode, use Q for formatting.
|
||||||
map Q gq
|
map Q gq
|
||||||
|
|
||||||
|
" Copy to and from system clipboard
|
||||||
|
set clipboard^=unnamed,unnamedplus
|
||||||
|
|
||||||
" --- Enable IdeaVim plugins https://jb.gg/ideavim-plugins
|
" --- Enable IdeaVim plugins https://jb.gg/ideavim-plugins
|
||||||
|
|
||||||
" Highlight copied text
|
" Highlight copied text
|
||||||
@@ -29,6 +32,11 @@ Plug 'machakann/vim-highlightedyank'
|
|||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
" Surround Plugin
|
" Surround Plugin
|
||||||
Plug 'tpope/vim-surround'
|
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 IDE actions to IdeaVim -- https://jb.gg/abva4t
|
||||||
"" Map \r to the Reformat Code action
|
"" Map \r to the Reformat Code action
|
||||||
|
|||||||
@@ -16,7 +16,18 @@ set wrap
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
||||||
" Status bar
|
" 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
|
" Vim is based on Vi. Setting `nocompatible` switches from the default
|
||||||
" Vi-compatibility mode and enables useful Vim functionality. This
|
" Vi-compatibility mode and enables useful Vim functionality. This
|
||||||
@@ -71,6 +82,12 @@ set noerrorbells visualbell t_vb=
|
|||||||
" sometimes be convenient.
|
" sometimes be convenient.
|
||||||
set mouse+=a
|
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
|
" 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
|
" 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
|
" 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"))
|
if filereadable(expand("~/.vimrc.plug"))
|
||||||
source ~/.vimrc.plug
|
source ~/.vimrc.plug
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" let g:lightline = { 'colorscheme': 'gotham'}
|
||||||
|
let g:lightline = { 'colorscheme': 'deepspace'}
|
||||||
|
colorscheme deep-space
|
||||||
|
|||||||
@@ -6,9 +6,18 @@ Plug 'tpope/vim-fugitive'
|
|||||||
" Surround Plugin
|
" Surround Plugin
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
|
" Repeat for the surround plugin
|
||||||
|
Plug 'tpope/vim-repeat'
|
||||||
|
|
||||||
|
" Surround Plugin
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
" Sensible options
|
" Sensible options
|
||||||
Plug 'tpope/vim-sensible'
|
Plug 'tpope/vim-sensible'
|
||||||
|
|
||||||
|
" Auto-close brackets
|
||||||
|
Plug 'rstacruz/vim-closer'
|
||||||
|
|
||||||
" Highlight Yank
|
" Highlight Yank
|
||||||
Plug 'machakann/vim-highlightedyank'
|
Plug 'machakann/vim-highlightedyank'
|
||||||
|
|
||||||
@@ -18,7 +27,29 @@ Plug 'dbakker/vim-paragraph-motion'
|
|||||||
" Quick Scope
|
" Quick Scope
|
||||||
" Plug 'unblevable/quick-scope'
|
" Plug 'unblevable/quick-scope'
|
||||||
|
|
||||||
" Paragraph Motion
|
" Git in the left-side gutter
|
||||||
Plug 'dbakker/vim-paragraph-motion'
|
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()
|
call plug#end()
|
||||||
|
|||||||
@@ -52,12 +52,14 @@ HIST_STAMPS="dd.mm.yyyy"
|
|||||||
# source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
# source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
|
docker
|
||||||
history
|
history
|
||||||
per-directory-history
|
per-directory-history
|
||||||
perms
|
perms
|
||||||
sudo
|
sudo
|
||||||
systemd
|
systemd
|
||||||
# zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
|
zsh-autosuggestions
|
||||||
# exercism
|
# exercism
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -101,6 +103,9 @@ setopt HIST_IGNORE_SPACE # Don't add commands that start with whitespac
|
|||||||
[[ ! -f ~/.env ]] || source ~/.env
|
[[ ! -f ~/.env ]] || source ~/.env
|
||||||
[[ ! -f ~/.set_path ]] || source ~/.set_path
|
[[ ! -f ~/.set_path ]] || source ~/.set_path
|
||||||
[[ ! -f "$HOME/.cargo/env" ]] || source "$HOME/.cargo/env"
|
[[ ! -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
|
PATH=$(pyenv root)/shims:$PATH
|
||||||
|
|
||||||
# Aliases
|
# 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
|
[[ ! -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
|
ulimit -n 10240
|
||||||
54
kde-neon/.gitignore
vendored
54
kde-neon/.gitignore
vendored
@@ -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/
|
|
||||||
Reference in New Issue
Block a user