checked in latest odds n sods changes

This commit is contained in:
Radar231 2023-12-31 21:42:52 -05:00
parent d8ba7428b5
commit 2a9a6bcaa1
3 changed files with 46 additions and 6 deletions

View File

@ -38,8 +38,10 @@ floating_modifier $mod
# start a terminal
#bindsym $mod+Return exec i3-sensible-terminal -T Terminator
bindsym $mod+Shift+Return exec kitty; focus
bindsym $mod+Return exec terminator; focus
#bindsym $mod+Shift+Return exec terminator; focus
#bindsym $mod+Shift+Return exec alacritty; focus
bindsym $mod+Shift+Return exec st; focus
bindsym $mod+Return exec kitty; focus
# kill focused window
bindsym $mod+Shift+q kill

View File

@ -15,6 +15,8 @@ set -g @dracula-military-time true
set -g @dracula-show-timezone false
set -g @dracula-time-format "%Y-%m-%d %H:%M"
set -g mouse on
set -g status-position bottom
bind '"' split-window -v -c "#{pane_current_path}"

44
.vimrc
View File

@ -9,8 +9,12 @@ set backspace=indent,eol,start
" switch syntax highlighting on
syntax on
" sets options based on detected file type
filetype plugin on
" allow switching between buffers with unsaved changes
set hidden
set smartindent
set autoindent
@ -37,10 +41,11 @@ set incsearch
let python_highlight_all = 1
" netrw tweaks
let g:netrw_banner=0 " disable annoying banner
let g:netrw_browse_split=4 " open in prior window
let g:netrw_altv=1 " open splits to the right
let g:netrw_liststyle=3 " tree view
let g:netrw_banner = 0 " disable annoying banner
let g:netrw_browse_split = 4 " open in prior window
let g:netrw_altv = 1 " open splits to the right
let g:netrw_liststyle = 3 " tree view
let g:netrw_winsize = -35
nmap <silent> <C-e> :Lexplore<CR>
"let g:netrw_list_hide=netrw_gitignore#Hide()
@ -55,6 +60,37 @@ set background=dark
set path+=**
set wildmenu
" enable vim plugins
" packages with plugins installed;
" - vim-airline
" - vim-airline-themes
" - vim-ale
" - vim-ctrlp
" airline package is enabled in /usr/share/vim/vimfiles/pack/dist-bundle/start
" packadd! airline
" from package vim-ale
packadd! ale
" from package vim-ctrlp
packadd! CtrlP
" disable folds at startup
set foldlevelstart=1
" set leader character to <Space>
let mapleader = "\<Space>"
" -----------Buffer Management---------------
" Move to the next buffer
nmap <leader>l :bnext<CR>
" Move to the previous buffer
nmap <leader>h :bprevious<CR>
" Close the current buffer and move to the previous one
" This replicates the idea of closing a tab
nmap <leader>q :bp <BAR> bd #<CR>
" Show all open buffers and their status
nmap <leader>bl :ls<CR>