Compare commits

..

2 Commits

Author SHA1 Message Date
4f83cf2d0f Merge branch 'master' of https://git.cobypowers.com/cobyp/linux-toolkit 2023-06-14 13:16:09 -05:00
77b2c92891 Rework .zshrc 2023-06-14 13:15:47 -05:00
2 changed files with 90 additions and 3 deletions

View File

@ -1,6 +1,83 @@
" ___ ___ ___ _____ ______ ________ ________
" |\ \ / /|\ \|\ _ \ _ \|\ __ \|\ ____\
" \ \ \ / / | \ \ \ \\\__\ \ \ \ \|\ \ \ \___|
" \ \ \/ / / \ \ \ \ \\|__| \ \ \ _ _\ \ \
" \ \ / / \ \ \ \ \ \ \ \ \ \\ \\ \ \____
" \ \__/ / \ \__\ \__\ \ \__\ \__\\ _\\ \_______\
" \|__|/ \|__|\|__| \|__|\|__|\|__|\|_______|
" by Coby Powers (inspired by https://www.freecodecamp.org/news/vimrc-configuration-guide-customize-your-vim-editor/)
" Remove compatibility with vi
set nocompatible
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
" Enable plugins and load plugin for the detected file type.
filetype plugin on
" Load an indent file for the detected file type.
filetype indent on
" Turn syntax highlighting on.
syntax on
" Add numbers to each line on the left-hand side.
set number
set autoindent
set noexpandtab
set tabstop=2
" Highlight cursor line underneath the cursor horizontally.
set cursorline
" Highlight cursor line underneath the cursor vertically.
"set cursorcolumn
" Set shift width to 2 spaces.
set shiftwidth=2
" Set tab width to 2 columns.
set tabstop=2
" Use space characters instead of tabs.
set expandtab
" Do not save backup files.
set nobackup
" Do not let cursor scroll below or above N number of lines when scrolling.
set scrolloff=10
" Do not wrap lines. Allow long lines to extend as far as the line goes.
set nowrap
" While searching though a file incrementally highlight matching characters as you type.
set incsearch
" Ignore capital letters during search.
set ignorecase
" This will allow you to search specifically for capital letters.
set smartcase
" Show partial command you type in the last line of the screen.
set showcmd
" Show the mode you are on the last line.
set showmode
" Show matching words during a search.
set showmatch
" Use highlighting when doing a search.
set hlsearch
" Set the commands to save in history default number is 20.
set history=1000
" Enable auto completion menu after pressing TAB.
set wildmenu
" Make wildmenu behave like similar to Bash completion.
set wildmode=list:longest
" Wildmenu will ignore files with these extensions.
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx

View File

@ -1,3 +1,13 @@
# ________ ________ ___ ___ ________ ________
# |\_____ \|\ ____\|\ \|\ \|\ __ \|\ ____\
# \|___/ /\ \ \___|\ \ \\\ \ \ \|\ \ \ \___|
# / / /\ \_____ \ \ __ \ \ _ _\ \ \
# / /_/__\|____|\ \ \ \ \ \ \ \\ \\ \ \____
# |\________\____\_\ \ \__\ \__\ \__\\ _\\ \_______\
# \|_______|\_________\|__|\|__|\|__|\|__|\|_______|
# \|_________|
# by Coby Powers
TOOLKIT=/etc/toolkit
ZSH=$TOOLKIT/sh/ohmyzsh