Commit graph

46 commits

Author SHA1 Message Date
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
Leandro Doctors 641cb39afa Make Colemak layout more ergonomic 2020-08-09 11:07:59 +02:00
ivann f60997e6a6 [keyboard-layout] Add ediff remapping 2020-06-14 22:40:22 +02:00
CharlesHD 2bc80b4b42 keyboard-layout: add evil-cleverparens remapping 2020-06-07 23:19:43 +02:00
Damien Picard 9e40ea8926 [keyboard-layout] Add evil-lisp-state mapping 2020-06-07 23:10:00 +02:00
Lucien Cartier-Tilet 77fe8a6139
Fix bug with keyboard-layout layer an bépo layout
When the bépo layout is set from the `keyboard-layout` layer, the
message `(wrong-type-argument keymapp nil)` shows up. After some
digging, it turns out Spacemacs tries to set shortcuts for `nil`
`map` variables in this function.

This commit ensures it is impossible to try to set a shortcut for an
inexisting keymap.

This commit has been tested with Emacs 27.0.90.
It also removes an unused `if` statement
2020-03-31 20:15:34 +02:00
Jonta 0fe53d09ef
[keyboard-layout] Grammatical errors 2020-03-24 21:41:49 +01:00
CharlesHD bcc3f1292d [keyboard-layout] Quick Fix of 11954
Commented out broken evil-window :common bindings.

https://github.com/syl20bnr/spacemacs/issues/11954
2020-01-13 13:32:39 +01:00
Damien Picard 473d019b47 Fix keys not remapped by keyboard-layout
keyboard-layout was broken by commit da80634, which replaced cl by
cl-lib. Some function calls weren’t replaced. There may be old calls
remaining in other layers.
2019-12-18 15:02:42 +01:00
JAremko 6c12121cec fix links 2019-07-08 23:56:07 +03:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
bmag 99b355e2fa Adapt for Magit's move to Transient
Magit now uses Transient instead of magit-popup, and we must adapt. Also had to
replace the recently removed magit-diff-buffer-file-popup with
magit-diff-buffer-file (similar but doesn't offer a popup before displaying the
diff).

Note some upstream packages haven't adapted to this change, but when they do we
might need similar fixes:
- magithub
- magit-gitflow
- magit-svn
2019-02-16 10:21:45 -05:00
CharlesHD 52bbab6343 keyboard-layout: add undo-tree visualizer navigation keys 2019-01-20 17:15:49 +02:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
CharlesHD 1b22f5b30e Keyboard-Layout : after-config hooks for lazy-loaded packages 2018-06-16 03:18:05 -04:00
Fabien Dubosson 29fa494053 [keyboard-layout] Split evil-magit and magit configurations
Fix #10133 and #10229, supersede #10148
Modification as suggested in [1].

[1] https://github.com/syl20bnr/spacemacs/pull/10148#issuecomment-357577446
2018-02-24 19:49:39 -05:00
Benjamin Reynolds b51826f001 Improve support for workman keyboard layout 2018-01-19 22:59:19 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Benjamin Reynolds b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
JAremko 106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
Eivind Fonn c2a20210e6 keyboard-layout: uniform indentation 2017-06-08 09:52:27 +02:00
fmdkdd 6255081645 Disambiguate the colemak-hnei and colemak-neio layouts 2017-06-08 09:51:36 +02:00
fmdkdd a8c813a815 Add colemak-jkhl layout to keyboard-layout
This commit remaps the HJKL movement keys to JKHL.

See https://colemak.com/ for a description of the colemak layout.
2017-06-08 09:47:14 +02:00
Eivind Fonn cbc4717011 Fix keyboard-layout readme
Layout names are not code
2017-06-07 12:50:09 +02:00
benozol 63ba00492c Add neo keyboard layout option to keyboard-layout 2017-06-07 12:46:41 +02:00
Eivind Fonn 383fbe7532 Update keyboard layout layer readme: text/images
Text:
- Rewrite, add missing words, etc.
- Remove the begin and end verse block lines, but kept the verse block text,
  because Github doesn's show text in .org verse blocks.
- Change _after_ to *after*, because Github doesn't show underscores in .org
  files.
- Add the Colemak, Dvorak and Workman layouts vim movement key bindings, and the
  key bindings for the lost (overwritten) keys.
- Fix the image link to the workman layout image, it was missing the square
  brackets.
- Link replaced: The workmanlayout.com domain name seems to have been lost.
  Google Chrome warns "Your connection is not private", and the advanced
  information states that the security certificate is from a "just host" domain.
  The most stable replacement link seems to be the workman section on the
  keyboard layout wikipedia page.
- Indicate the images that have been modified, as suggested by the CC BY-SA
  Attribution section.

Images:
- Add the dvorak simplified layout.
- Fix the programmer dvorak layout, the transparent key faces made it almost
  invisible when viewed in Spacemacs with a dark background.
- Rename images for type, consistency, and most common usage:
  use logo instead of layout for logo names, and use layout for all layout
  images, instead of keymap for some and layout for others. Layout is the most
  common name, wikipedia even redirects keymap to the keyboard layout page.
- Reduce their width to 640px, so that they fit within column 80.
2017-06-06 12:24:30 +02:00
Eivind Fonn 9baa32e3c2 keyboard-layout: remove spurious colemak 2017-06-06 12:22:22 +02:00
duianto 52a03697c1 Update keyboard layout image, gray border
problem:
The keyboard layouts main image, is displayed as a black rectangle, when the
readme.org file, it's opened in Spacemacs. This seems to be because there's an
issue with the transparency when a .png is saved with indexed colors.

When the transparency issue is fixed, by re-saving it as a non-indexed
(grayscale or RGB) image. Then there still is an issue, with themes that have a
dark background, i.e. spacemacs-dark. The black keys become almost invisible.

solution:
Add a 1px gray border, around the keys.
2017-05-30 18:37:02 +02:00
warreq 40e0f180d4 Add support for the Workman keyboard layout 2017-05-24 14:53:14 +02:00
Max Gonzih 777dc4ea9b Add new programmer dvorak layout that matches vim like key placement 2017-05-24 14:51:34 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Vladimir Kochnev 09334fb454 Fix typo in keyboard-layout/packages.el 2017-05-14 12:29:52 -04:00
JAremko f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
Lyall Cooper bfcc96d548 Add Colemak layout to keyboard-layout layer 2017-04-20 00:24:43 -04:00
Daniel Mijares 4461721e2a Adding colemak keyboard layout option to keyboard-layout
- Base Remapping Keys

`#{n, e, i, o}` <=> `#{h, j, k, l}`

- setting `avy` keys to the `colemak` home row keys

`#{a, r, s, t, n, e, i, o}`

- adjusting leader key to `tn`

- overriding evil org mode bindings especially for 'o'

- one character key guess rebindings can give back empty string
when looking for the prefix and it isn't empty, then guess the rebindings --
this fix lets the check not pass and return `'(nil nil)`, allowing the
`(remove-if #'null)` to actually work.

- correcting magit staging when using visual line
2017-04-17 19:36:39 -04:00
CharlesHD 635dde29c8 Remapping of twittering-mode was broken. Fix it. 2017-04-17 17:53:47 -04:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
Fabien Dubosson 2ef2c48189 [bepo] Fix loading of the ranger correction
For whatever-reason-unknown-to-me, this change is needed in order to
make key correction working now :-)
2016-09-03 12:04:24 +02:00
nashamri 3b9b1ff0ce Fix broken links in the docs 2016-08-05 21:20:41 +02:00
syl20bnr b30c393b8d Refactor SPC w and SPC b regarding deletion
The motivation is to clean redundent actions and bring more consistency
between `SPC b` and `SPC w` by:
- using capital letters for ace-window actions
- reusing the same letters between window and buffer when possible
- adding support for universal prefix argument to delete both window
and buffer

Details of changes:

Buffer

- `SPC b k` has been removed since the functionality is
available directly in Helm by selecting the kill buffer action

- `SPC b m` (buffer move) has been removed because the functionality
is available via `SPC w` with `SPC w h/j/k/l`, `SPC w H/J/K/L` and
`SPC w M` (see window section for the new `SPC w M`).

- `SPC b K` (kill other buffers) is now `SPC b m` to map with `SPC w m`
(kill other window or maximize). Using the universal prefix argument
`SPC u SPC b m` will also kill the windows.

- `SPC b C-k` (kill buffer matching regexp) is now simply on `SPC b k`.

- `SPC b D` now kills a buffer using ace-window.

- `SPC b d` and `SPC b D` now accept an universal prefix argument to
also delete the window. So `SPC u SPC b d` and `SPC u SPC b D` delete
the buffer and the window.

Window

- `SPC w M` now swap the window using ace-window.

- old `SPC w M` (center window) is now on `SPC w c` and `SPC w C` uses
ace-window.

- `SPC w SPC` (select window) is now on `SPC w W` since it uses
ace-window.

- `SPC w d` and `SPC w D` now accepts an universal prefix argument to
delete the window and the buffer.
2016-06-26 00:05:55 -04:00
syl20bnr bef22b40a4 keyboard-layout: minor edition in README.org 2016-06-22 23:54:34 -04:00
Fabien Dubosson 7c56215860 keyboard-layout layer 2016-06-22 23:35:06 -04:00