Zachary Yedidia
80755dcf31
Improve word movement behavior
2016-04-27 10:44:36 -04:00
Zachary Yedidia
6576dcc168
Merge branch 'arrow-bindings'
2016-04-26 21:15:08 -04:00
Zachary Yedidia
8e03e20055
Minor cleanup
2016-04-26 20:18:56 -04:00
Zachary Yedidia
6d2845ca35
Add mappings for ctrl keys
2016-04-26 20:14:58 -04:00
Zachary Yedidia
84a844994a
Correct word movement behavior
2016-04-26 19:53:43 -04:00
Zachary Yedidia
6c99eea610
Improve WordRight and WordLeft bindings
2016-04-26 09:58:56 -04:00
Zachary Yedidia
e00e0cfa3f
Starting to add more mappings for arrow keys
...
These mappings include Alt+arrows and Shift+arrows and Alt+Shift+arrows
This commit also switches the version of tcell that micro uses to my
fork which supports alt, shift, and ctrl + arrows.
2016-04-26 09:58:56 -04:00
Zachary Yedidia
269f15d88f
Also use KeyBackspace for deleting in prompt
...
Fixes #78
2016-04-26 09:44:08 -04:00
R. Harish Navnit
94b71931bc
Make the Home and End key presses point the cursor to the start and end of a line, respectively
2016-04-25 14:30:52 +05:30
Zachary Yedidia
0ee6be3d0f
Use methods on view instead of functions for bindings
2016-04-24 18:32:18 -04:00
Zachary Yedidia
20ab7a44ab
Relocate cursor on reOpen()
2016-04-24 17:26:42 -04:00
Zachary Yedidia
e1c1372f8f
Add check flag for search and replace
2016-04-24 17:08:40 -04:00
Zachary Yedidia
3c32253772
Fix terminal mode panic
2016-04-24 16:49:54 -04:00
Zachary Yedidia
eabf21d3ed
Use reflection for setting options
2016-04-24 15:35:16 -04:00
Zachary Yedidia
1d9d0c3a4d
Fix PageUp and PageDown bindings
...
Fixes #72 .
2016-04-24 14:40:30 -04:00
Zachary Yedidia
c903e949ef
Merge
2016-04-24 09:01:42 -04:00
Zachary Yedidia
8807ede224
Added StartOfLine and EndOfLine actions
...
This commit also adds error reporting for invalid json.
Fixes #36 .
2016-04-24 09:01:01 -04:00
Zachary Yedidia
74bd338cbc
Improve help text
2016-04-24 08:38:38 -04:00
Zachary Yedidia
1f62ff9d80
Improve help text and move to its own file
2016-04-24 08:31:42 -04:00
Zachary Yedidia
d088b7c2df
Merge pull request #71 from aerth/gofmt-2
...
gofmt-on-save redone for new bindings
2016-04-24 07:47:48 -04:00
aerth
7746952545
gofmt-on-save redone for new bindings
2016-04-24 01:48:51 +00:00
aerth
b39d383dac
cut lines into clipboard
2016-04-24 01:29:09 +00:00
Zachary Yedidia
af3715d55d
If system clipboard is unsupported, use internal clipboard instead
...
Fixes #65
2016-04-23 20:54:52 -04:00
Zachary Yedidia
77853ec6b6
Use my fork of clipboard
2016-04-23 20:52:26 -04:00
Zachary Yedidia
93c3a503ea
Use default binding for key if not specified
2016-04-23 19:03:24 -04:00
Zachary Yedidia
fa82fc2b74
Add delete key binding
...
Fixes #54
2016-04-23 18:58:02 -04:00
Zachary Yedidia
94c0f576e1
Load and save key bindings from bindings.json
2016-04-23 18:43:09 -04:00
Zachary Yedidia
2b8cc4cfce
Fix build error
2016-04-23 18:28:41 -04:00
Zachary Yedidia
2adaf68bd4
Rework the bindings as keys bound to actions
2016-04-23 18:25:08 -04:00
Zachary Yedidia
0fac02cd08
Fix SelectLine
2016-04-23 14:02:20 -04:00
Zachary Yedidia
7281cdbadd
Fix autoindent setting
2016-04-23 08:56:45 -04:00
Zachary Yedidia
7365f0f785
Fix selection highlighting
2016-04-22 19:31:50 -04:00
Zachary Yedidia
fedb8b03da
Fix horizontal scrolling
...
Fixes #59
2016-04-22 18:50:01 -04:00
aerth
23248c3a6f
Add ruler to possibleSettings
2016-04-22 20:15:38 +00:00
aerth
0440ca45cd
Toggle line numbers
2016-04-22 20:02:26 +00:00
Zachary Yedidia
acabfcb8bb
Expand ~ in file opening
2016-04-22 09:23:01 -04:00
Zachary Yedidia
568f638e70
Add nicer deleting for soft tabs
2016-04-21 19:15:46 -04:00
Zachary Yedidia
77caf5878d
Fix windows binary links
...
Fixes #47
2016-04-21 07:05:15 -04:00
Zachary Yedidia
6d3344e4bd
Add auto indent
2016-04-20 21:47:52 -04:00
Zachary Yedidia
6aab17f445
Set last visual x after SetLoc is called
...
Fixes #46
2016-04-20 20:03:53 -04:00
Zachary Yedidia
3b4521e9c6
Remove unused syntax highlighting code and optimize IsDirty()
2016-04-20 13:52:10 -04:00
Zachary Yedidia
89493a3e80
Merge
2016-04-20 12:50:36 -04:00
Zachary Yedidia
b5b84d9068
Don't adjust mouse coordinates
...
Fixes #23
2016-04-20 12:50:13 -04:00
Zachary Yedidia
4f6a6866d1
Set encoding fallback to ASCII
...
See #45
2016-04-20 07:23:16 -04:00
Zachary Yedidia
0d1ba36044
Merge
2016-04-19 21:33:30 -04:00
Zachary Yedidia
65745a6b43
Much improved terminal mode (Ctrl-b)
...
This commit splits "Boss mode" into to different actions. Executing
a command with Ctrl-b will now open an interactive terminal. If you
would simply like to execute a background job in the shell, press
Ctrl-e and then type `run shell-command`.
2016-04-19 21:25:13 -04:00
Zachary Yedidia
9603baa6ec
Merge pull request #44 from aerth/fork1
...
stdout and stderr buffers for command execution
2016-04-19 19:03:30 -04:00
Zachary Yedidia
c767b3dc0c
Add OpenBuffer() function to View
...
Fixes #43
2016-04-19 18:58:52 -04:00
aerth
838a932dd9
stdout and stderr buffers for command execution
2016-04-19 19:49:43 +00:00
Zachary Yedidia
4305c71f6a
Use a buffer for help screen
...
Fixes #24
2016-04-19 13:58:02 -04:00