Compare commits
No commits in common. "442b1894dc943c6076d9a3ce369e03da23b47b56" and "70a54c087ab2adcadc29901d0b8a7abee7cc6156" have entirely different histories.
442b1894dc
...
70a54c087a
@ -1,6 +1,5 @@
|
||||
if status --is-login
|
||||
fish_add_path ~/.local/bin
|
||||
fish_add_path .
|
||||
|
||||
set -gx BAT_THEME "Solarized (dark)"
|
||||
set -gx EDITOR "nvim"
|
||||
|
@ -40,4 +40,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||
SETUVAR fish_pager_color_selected_description:\x1d
|
||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||
SETUVAR fish_user_paths:/jbx/repos/configs\x1e/jbx\x1e/jbx/uni/phaser\x2dgame\x1e/jbx/\x2econfig/nvim\x1e/jbx/repos/spire\x1e/jbx/repos/abyss\x1e/jbx/repos/poo\x1e/jbx/uni/aula\x2d01\x1e/jbx/uni/aula\x2d02\x1e/jbx/\x2elocal/bin\x1e/yang/\x2elocal/bin
|
||||
SETUVAR fish_user_paths:/jbx/\x2elocal/bin\x1e/yang/\x2elocal/bin
|
||||
|
@ -1,133 +0,0 @@
|
||||
" plugins
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
||||
set which-key
|
||||
set commentary
|
||||
" Set mouse to "a"
|
||||
set mouse=a
|
||||
|
||||
" Set line numbers and relative line numbers
|
||||
set nu
|
||||
set rnu
|
||||
|
||||
" Append to clipboard
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
" Set tab settings
|
||||
set tabstop=2
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
set expandtab
|
||||
|
||||
" Enable smart indentation
|
||||
set smartindent
|
||||
|
||||
" Disable text wrapping
|
||||
set nowrap
|
||||
|
||||
" Disable swap and backup files, enable undofile
|
||||
set noswapfile
|
||||
set nobackup
|
||||
let &undodir = $HOME . "/.vim/undodir"
|
||||
set undofile
|
||||
|
||||
" Disable highlighting search results and enable incremental search
|
||||
set nohlsearch
|
||||
set incsearch
|
||||
|
||||
" Set scrolloff and signcolumn
|
||||
set scrolloff=8
|
||||
set signcolumn=yes
|
||||
|
||||
" Set filename characters
|
||||
set isfname+=@-@
|
||||
|
||||
" Set update time
|
||||
set updatetime=50
|
||||
|
||||
" Set colorcolumn
|
||||
set colorcolumn=80
|
||||
autocmd WinLeave * let &colorcolumn = "0"
|
||||
autocmd WinEnter * let &colorcolumn = "80"
|
||||
|
||||
" Disable status line, command line, ruler, and mode display
|
||||
set laststatus=0
|
||||
set noshowcmd
|
||||
set noruler
|
||||
set noshowmode
|
||||
|
||||
" Set conceal level and cursor
|
||||
set conceallevel=2
|
||||
set concealcursor=n
|
||||
|
||||
" Set map leader to " "
|
||||
let mapleader = " "
|
||||
|
||||
" Set case insensitive searching, smart case, and completion options
|
||||
set ignorecase
|
||||
set smartcase
|
||||
set completeopt=menuone,noselect
|
||||
|
||||
" Set split settings
|
||||
set splitright
|
||||
set splitbelow
|
||||
|
||||
" Enable termguicolors and set terminal color
|
||||
set termguicolors
|
||||
let &t_Cs = "\e[4:3m"
|
||||
let &t_Ce = "\e[4:0m"
|
||||
|
||||
set notimeout
|
||||
|
||||
" Normal mode mappings
|
||||
nnoremap <silent> J :m '>+1<CR>gv=gv
|
||||
nnoremap <silent> K :m '<-2<CR>gv=gv
|
||||
nnoremap <silent> J mzJ`z
|
||||
nnoremap <silent> <C-d> <C-d>zz
|
||||
nnoremap <silent> <C-u> <C-u>zz
|
||||
nnoremap <silent> n nzzzv
|
||||
nnoremap <silent> N Nzzzv
|
||||
nnoremap <leader>p [["_dP]]
|
||||
nnoremap <silent> <leader>yy "+y
|
||||
nnoremap <silent> <leader>Y "+Y
|
||||
nnoremap <leader>dd "_d
|
||||
nnoremap <silent> <C-c> <Esc>
|
||||
nnoremap Q <nop>
|
||||
nnoremap <silent> <A-k> :cnext<CR>zz
|
||||
nnoremap <silent> <A-j> :cprev<CR>zz
|
||||
nnoremap <silent> <leader>k :lnext<CR>zz
|
||||
nnoremap <silent> <leader>j :lprev<CR>zz
|
||||
nnoremap <leader>rr :%s/\<\<<C-r><C-w>\>/\<C-r><C-w>/gI<Left><Left><Left><Left>zz
|
||||
nnoremap <silent> <leader>x :!chmod +x %<CR><CR>
|
||||
nnoremap <leader>q :!go run %<CR><CR>
|
||||
nnoremap <leader><Esc> <C-\><C-n>
|
||||
nnoremap <leader>Sh <C-w>szz
|
||||
nnoremap <leader>Sv <C-w>vzz
|
||||
nnoremap <leader>Se <C-w>=zz
|
||||
nnoremap <leader>Sx :close<CR>
|
||||
nnoremap <C-l> <C-w>lzz
|
||||
nnoremap <C-h> <C-w>hzz
|
||||
nnoremap <C-j> <C-w>jzz
|
||||
nnoremap <C-k> <C-w>kzz
|
||||
nnoremap + <C-a>zz
|
||||
nnoremap - <C-x>zz
|
||||
nnoremap <left> 4<C-w><
|
||||
nnoremap <right> 4<C-w>>
|
||||
nnoremap <up> 4<C-w>+
|
||||
nnoremap <down> 4<C-w>-
|
||||
nnoremap <leader>gsj :GoTagAdd json <CR>zz
|
||||
nnoremap <leader>gsy :GoTagAdd yaml <CR>zz
|
||||
nnoremap <A-.> :bnext<CR>zz
|
||||
nnoremap <A-,> :bprev<CR>zz
|
||||
nnoremap <A-x> :bdelete<CR>zz
|
||||
map <C-e> <action>(ActivateProjectToolWindow)
|
||||
map <leader>sf <action>(SearchEverywhere)
|
||||
map <leader>f <action>(ReformatCode)
|
||||
|
||||
|
||||
" Visual mode mappings
|
||||
vnoremap <silent> J :m '>+1<CR>gv=gv
|
||||
vnoremap <silent> K :m '<-2<CR>gv=gv
|
||||
vnoremap <silent> <leader>yy "+y
|
||||
vnoremap <silent> <leader>dd "_d
|
||||
|
@ -8,9 +8,6 @@ bind C-o display-popup -E "~/.cargo/bin/tms"
|
||||
unbind C-j
|
||||
bind C-j display-popup -E "~/.cargo/bin/tms switch"
|
||||
|
||||
unbind C-k
|
||||
bind C-k display-popup -E "~/.cargo/bin/tms kill"
|
||||
|
||||
unbind %
|
||||
bind | split-window -h
|
||||
|
||||
|
@ -4,9 +4,9 @@ here you will find configs for my desktop and my laptop.
|
||||
|
||||
i primarily use [neovim](https://github.com/jabuxas/nvim.config), tmux ([sessionizer](https://github.com/jrmoulton/tmux-sessionizer)) and sway
|
||||
|
||||
themes ~~are~~ were completely interchangeable as long as you setup the structure of files the same as this repo, they aren't really anymore because most screenshots are from when I used hyprland and they might not work anymore, idk.
|
||||
themes are completely interchangeable as long as you setup the structure of files the same as this repo\*, or edit to your liking
|
||||
|
||||
on sway I do have now switch between dark/light solarized, and that's all i'll add, i had way too many themes before.
|
||||
pr's are welcome for optimizations and useful refactors
|
||||
|
||||
## images
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user