Kevin Mok
bbf5b267fa
Vim: use spaces instead of tabs for LaTeX
7 years ago
Kevin Mok
fc64617644
"True" bg Okular fxn, Git/laptop changes
laptop:
- connect lab monitor alias
- mute key
- wi-fi symbol/name (i3blocks)
Git:
- checkout file
- continue cherry-pick
- checkout new branch
7 years ago
Kevin Mok
9d2695b71b
209-l9 aliases, minor PC changes
Mainly committed so laptop can have l9 aliases.
7 years ago
Kevin Mok
d8ade3780a
Fixes #54 , setup xkb on laptop
Functions:
- tar/unzip that remove original file after extraction
- remove directory
- sudo nvim
Vim leader mappings:
- delete entire buffer into system clipboard
- find merge conflicts
7 years ago
Kevin Mok
0bba4a0eb3
Swap keys using xkb instead of xmodmap
Removed old swap key lines from config and added dir/script to symlink
xkb file to lc dir. Fixes issue of having to release keys when starting
terminal with xmodmap.
7 years ago
Kevin Mok
44868f49cf
Fxn's: Okular (bg), cherry-pick commit (Git)
7 years ago
Kevin Mok
8c642ee5d4
Aliases for ideas folders
Also delete into system clipboard mapping (Vim).
7 years ago
Kevin Mok
6527184490
Single function to add/commit/push gists (gpsgst)
other aliases/functions:
- untar: extract .tar files
- ideb: install .deb files
- dum: display directory sizes in terminal
7 years ago
Kevin Mok
c87546e75c
Copied i3blocks scripts from orig dir
Some were modified from original but can't be bothered to check which.
'backlight' is custom. Changed both PC/laptop i3blocks config to
reference new i3blocks-scripts location.
system: Fixed keyboard repeat rate for PC/laptop.
Git: Added amending commit and forcing push aliases.
i3: Changed '$mod+F[1-3]' mappings to just 'F[1-3]'.
7 years ago
Kevin Mok
a4d1cd0776
Remove Enter mapping for Vim & other Vim settings
- increase timeoutlen
- fix F10 paste for Neovim
- escape url mapping (for LaTeX)
Also added pdftojpg function.
7 years ago
Kevin Mok
52b6d0a36a
Added aliases to work with 'wip' branch
Create/checkout/delete 'wip' branch. Also cherry-picking function.
7 years ago
Kevin Mok
a458897f89
Added desktop screenshot to 'History' section
7 years ago
Kevin Mok
0926557d95
Added comments for Vim mappings
7 years ago
Kevin Mok
80a28c6a48
Removed desktop screenshot from README
Also added git function to cherry-pick commits.
7 years ago
Kevin Mok
c1597d0527
Setup ranger on laptop and update screenshot
Also added Spotify i3block to laptop.
7 years ago
Kevin Mok
85bf4323b6
Resolves #14 , fixes #48
ranger:
- preview images
- set background (using wal)
- bulk rename
- reload config from within
Also update Terminator config one last time before removing.
7 years ago
Kevin Mok
a6fd6634b1
Setup urxvt, pywal, Zsh and Neovim on laptop
7 years ago
Kevin Mok
8279772ca8
Close #28 and added files to setup Neovim from Vim
Namely nvim and set-nvim.
7 years ago
Kevin Mok
4dce53aafc
Switched to Zsh and consolidated all aliases
Resolves #21 and closes #30 . Combined all alias files, converted them into
proper Zsh formatting and reorganized them into better sections. Installed Oh
My Zsh and then sourced the combined aliases file (zsh_aliases) from .zshrc.
Also made URL's clickable in urxvt and briefly commented purpose of all Vim
plug-ins.
7 years ago
Kevin Mok
9cd7d61cc6
Fix program links in README
7 years ago
Kevin Mok
6031d8bf25
Switch to urxvt ( close #45 ), setup pywal ( fix #35 )
Updated README to include desktop screenshot and urxvt/pywal sources.
7 years ago
Kevin Mok
7ca9c5f27d
Wrote README and various tweaks for laptop
- horizontal scrolling for touchpad
- disable touchscreen
- set/get backlight
- i3-gaps and updated Terminator config
7 years ago
Kevin Mok
f922e56b50
Closes #39
7 years ago
Kevin Mok
3914b7ff36
Resolves #36
Also added Spotify song name as i3block to Samsung monitor.
7 years ago
Kevin Mok
bca6d27965
i3 shortcuts: media, open apps in certain ws
7 years ago
Kevin Mok
cc36cae85b
Adding folding to alias files
Also added Neofetch config for laptop.
7 years ago
Kevin Mok
8fffcacdf6
Aliases: find/grep (recursive), Python, Markdown
- Vim: refresh file, format 2 lines
- i3: ksnapshot
7 years ago
Kevin Mok
611f7b5cb1
i3: Monitor-specific workspaces, app shortcuts
- Vim: replace in command history
7 years ago
Kevin Mok
5c5e010c53
Organized dotfiles/configs into folders
Split set-from-git into 3 different files for each section and created a
script for common directory variables. Created separate folders for
PC/laptop configs.
7 years ago
Kevin Mok
933e2709ef
i3: Setup for laptop (based on PC config)
Changes from PC:
- status bar: larger font, battery
- Unicode workspace icons
- laptop-specific bindings: backlight, wi-fi on/off
- scale Chrome
- background
7 years ago
Kevin Mok
67f97269a2
i3: ws icons, resize windows w/o mode
- Go up/down workspace bindings.
- Removed unwanted blocks from i3blocks.
- Volume key bindings.
7 years ago
Kevin Mok
d4d44555ca
i3: startup progs, i3blocks, redshift bindings
Also updated NZXT-terminator and background for i3.
7 years ago
Kevin Mok
f66ea5efa0
Added i3 config file and updated set-from-git
set-from-git now uses for-loop to add i3/Neofetch config files. Also
added swapped keys to .bashrc for NZXT.
7 years ago
Kevin Mok
5ac1b0d77d
Added Neofetch config
Updated set-from-git. 209-a2 aliases.
7 years ago
Kevin Mok
0d327968c0
Vim: bullets plugin, replace/wrap line mappings
Also changed paste toggle (F10) to instead turn on paste, paste and
then turn off.
7 years ago
Kevin Mok
f1b9026f96
Terminator: Update NZXT-terminator/set-from-git
- Vim: Column marker, reload vimrc mapping, mapping timeout.
7 years ago
Kevin Mok
eb3893cf30
Vim: listed plugins, split mappings
- surround
- EasyMotion
- airline (themes)
7 years ago
Kevin Mok
1338b0ece4
Fixed gpla and Vim mappings
- gpla: Pop stashed changes before clearing them.
- Vim mappings: Remove spacing at end because Vim already adds a space
after mappings.
7 years ago
Kevin Mok
768baa4f33
Pull in all repos function and changes to Vim
Vim:
- Local mappings to type out math notes.
- Mapping to toggle highlight searches and replace all.
- Increase linespace to display underscores.
7 years ago
Kevin Mok
4434607e03
Working color scheme switcher for Vim
Vim mappings for Plug tasks.
7 years ago
Kevin Mok
7792e56b30
Vim comment plugin, run/test l5 alias
7 years ago
Kevin Mok
568aa72b5b
Forked vim-snippets and transferred snippets
I wanted to alter the default snippets so I thought I might as well move
all mine into there as well, instead of keeping track of changes in 2
repositories.
Also, having become comfortable with Vim folding, I thought it'd be more
organized to consolidate similar alias files (i.e. 209 -> school,
laptop/my_pc -> pc) and then add folding to the top-level files.
7 years ago
Kevin Mok
9db2037c26
Added snippets to help with math lectures
- snippets: Roman d, axes
- Vim: set fold to markers by default, jump to middle of line mapping
7 years ago
Kevin Mok
7adfcb7948
Added TeXmath snippets to help with PAR 2
- (in-)line equation
- square root
- therefore
- cdot
7 years ago
Kevin Mok
a4ffe83dc7
snippets (new), Bash functions
- LaTeX: align, piecewise function
- snippets: tabstops, LaTeX environment
- .gitignore
7 years ago
Kevin Mok
7c35d96766
Merge master branch
7 years ago
Kevin Mok
5ab1eb5c94
Resolved merge conflicts with custom-vim-snippets
7 years ago
Kevin Mok
1a28b4b93e
Generic for, alias and multi-line equation
For C, bash and LaTeX respectively.
7 years ago
Kevin Mok
f481b453aa
Merge with UltiSnips repo (added fnct to merge)
- UltiSnips: Moved alias snippets from sh to all.
- Aliases: Snippet, commit message.
- Vim: Map fold method, preview and line break to leader keys.
7 years ago
Kevin Mok
59b7f07824
Added Terminator config from NZXT
7 years ago