[Keymap] Updates to noroadsleft keymap for KC60 (2019-11-05) (#7265)
* Rename layers_keymap to layer_names * Update Escape and Left Control keys - change KC_GESC to KC_ESC - change KC_LCTL to MT(MOD_LCTL, KC_GRV) * Disable features I don't use Makes the firmware lean. Why? Because I can. :D * Update the readme files * Add KC_F13 through KC_F24 emulation ... and update the readme files accordingly. * Update rules/config - Swap EXTRAFLAGS for LINK_TIME_OPTIMIZATION_ENABLE - remove NO_ACTION_MACRO and NO_ACTION_FUNCTION - Re-enable COMMAND * concatenate full-length and short layer names * enable dynamic macros * update readme files
This commit is contained in:
		
							parent
							
								
									dfb78d2a08
								
							
						
					
					
						commit
						95309e9af5
					
				
					 10 changed files with 112 additions and 90 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,8 @@
 | 
			
		|||
    # Cherry Pick
 | 
			
		||||
    cp = cherry-pick
 | 
			
		||||
 | 
			
		||||
    # Check out a Pull Request
 | 
			
		||||
    # Check out a Pull Request locally
 | 
			
		||||
    #   e.g. `git cop 351` fetches the commits from Pull Request #351 and saves it to local branch 'pr/351'.
 | 
			
		||||
    cop = "!f() { git fetch upstream pull/$1/head:pr/$1; git checkout pr/$1; }; f"
 | 
			
		||||
 | 
			
		||||
    # Sync master branch
 | 
			
		||||
| 
						 | 
				
			
			@ -39,13 +40,17 @@
 | 
			
		|||
 | 
			
		||||
    # Short-form status
 | 
			
		||||
    st = "!git status --short --untracked-files=no"
 | 
			
		||||
    stu = "!git ls-files --others -x '*/*'"
 | 
			
		||||
 | 
			
		||||
    # Returns the name of the current branch
 | 
			
		||||
    branch-name = "!git rev-parse --abbrev-ref HEAD"
 | 
			
		||||
    bn          = "!git branch-name"                 # short-form of the above
 | 
			
		||||
    # List branches by the date of their last commit, newest to oldest
 | 
			
		||||
    bbd         = "for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='[33m%(objectname)[0m %(objecttype) [32m%(refname:short)[0m (%(authordate))'"
 | 
			
		||||
 | 
			
		||||
    # Compare commit counts between current branch and QMK master
 | 
			
		||||
    cc = "!f() { git fetch upstream; echo \"[0;32m$(git branch-name)[0m vs. [0;31mupstream/master[0m\"; git rev-list --left-right --count $(git branch-name)...upstream/master; }; f"
 | 
			
		||||
    #   e.g. `git cc dev_branch upstream/master` returns how many commits are on `dev_branch` and not on `upstream/master`, and vice versa.
 | 
			
		||||
    cc = "!f() { git fetch upstream; echo \"[0;32m$(git branch-name)[0m vs. [0;31m$2[0m\"; git rev-list --left-right --count $1...$2; }; f"
 | 
			
		||||
 | 
			
		||||
    # Push to origin repo
 | 
			
		||||
    po = "push origin $(git branch-name)"
 | 
			
		||||
| 
						 | 
				
			
			@ -71,6 +76,4 @@
 | 
			
		|||
 | 
			
		||||
    # Force push without overwriting established history
 | 
			
		||||
    pushf = push --force-with-lease
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue