This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#PS1='\[\e[38;2;37;37;37m\][\[\e[1;30m\]\[\e[38;2;175;161;147m\]\u@\h\[\e[0;30m\]\[\e[38;2;37;37;37m\]] [\[\e[38;2;170;255;170m\]$(if [ "$PWD" = "$HOME" ]; then echo "~"; else basename $(pwd); fi)\[\e[38;2;37;37;37m\]] \[\e[38;2;186;85;211m\]$(git rev-parse --abbrev-ref HEAD 2>/dev/null)\[\e[0m\] \[\e[38;2;255;182;193m\]took\[\e[38;2;255;165;0m\] $(($SECONDS))s\[\e[0m\]\n\$ ' | |
# Working | |
#PS1='\[\e[38;2;37;37;37m\][\[\e[1;30m\]\[\e[38;2;175;161;147m\]\u@\h\[\e[0;30m\]\[\e[38;2;37;37;37m\]] [\[\e[38;2;0;204;255m\]$(if [ "$PWD" = "$HOME" ]; then echo "~"; else basename $(pwd); fi)\[\e[38;2;37;37;37m\]] \[\e[38;2;0;204;255m\]$(git rev-parse --abbrev-ref HEAD 2>/dev/null)\[\e[0m\] \[\e[38;2;255;165;0m\]took $(($SECONDS))s\[\e[0m\]\n\$ ' | |
PS1='\[\e[38;2;37;37;37m\][\[\e[1;30m\]\[\e[38;2;175;161;147m\]\u@\h\[\e[0;30m\]\[\e[38;2;37;37;37m\]] [\[\e[38;2;170;255;170m\]$(if [ "$PWD" = "$HOME" ]; then echo "~"; else basename $(pwd); fi)\[\e[38;2;37;37;37m\]] \[\e[38;2;37;37;37m\]$([ -n "$(git rev-parse --abbrev-ref HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
editor.action.revealDefinition | |
editor.action.revealDefinitionAside | |
editor.action.peekDefinition | |
editor.action.peekTypeDefinition | |
editor.action.showDefinitionPreviewHover | |
workbench.action.terminal.toggleTerminal | |
editor.action.commentLine | |
editor.action.blockComment | |
workbench.action.splitEditor | |
workbench.action.splitEditorRight |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vim.leader": "<space>", | |
"vim.useSystemClipboard": true, | |
"vim.hlsearch": true, | |
"vim.highlightedyank.enable": true, | |
"vim.highlightedyank.color": "rgb(130,133,232)", | |
"vim.highlightedyank.duration": 200, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": ["j", "k"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set scrolloff=5 | |
set rnu | |
inoremap <A-;> <Esc> | |
vnoremap <A-;> <Esc> | |
inoremap jk <Esc> | |
vnoremap nn <Esc> | |
let mapleader = ' ' | |
map <leader>lc <Action>(CommentByLineComment) | |
map <leader>bc <Action>(CommentByBlockComment) | |
map <leader>fd <Action>(ReformatCode) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s ~/Desktop/personal/dotfiles/.gitconfig ~/.gitconfig | |
ln -s ~/Desktop/personal/dotfiles/nvim ~/.config/nvim | |
The directory structure we create in the other location (in this case personal files) should match the folder structure of what we are trying to create. | |
for example nvim files are placed in .config/nvim so the nvim files should be placed in dotfiles/nvim (dotfiles - is just a random name take which in this case acts like the .config folder) | |
ln -s ~/Desktop/personal/dotfiles/Code/User/settings.json ~/.config/Code/User/settings.json -> this is for vscode settings.json |