]> git.lizzy.rs Git - micro.git/log
micro.git
8 years agoMerge pull request #139 from onodera-punpun/undo_option
Zachary Yedidia [Fri, 27 May 2016 22:05:37 +0000 (18:05 -0400)]
Merge pull request #139 from onodera-punpun/undo_option

make undothresthold a setting and add stackundo option

8 years agoFix typo
Camille [Fri, 27 May 2016 21:39:53 +0000 (23:39 +0200)]
Fix typo

8 years agoRemove undo options, make stackundo default behavior
Camille Scholtz [Fri, 27 May 2016 21:39:27 +0000 (23:39 +0200)]
Remove undo options, make stackundo default behavior

8 years agoAdd stackundo option
Camille Scholtz [Thu, 26 May 2016 17:36:59 +0000 (19:36 +0200)]
Add stackundo option

8 years agoFix highlighting and searching with unicode characters
Zachary Yedidia [Wed, 25 May 2016 15:49:04 +0000 (11:49 -0400)]
Fix highlighting and searching with unicode characters

Fixes #134
Fixes #138

8 years agoMake sure there is a selection before deleting it
Zachary Yedidia [Tue, 24 May 2016 21:46:46 +0000 (17:46 -0400)]
Make sure there is a selection before deleting it

Fixes #140

8 years agomake undothresthold a setting (part 2)
Camille Scholtz [Tue, 24 May 2016 19:40:05 +0000 (21:40 +0200)]
make undothresthold a setting (part 2)

8 years agomake undothresthold a setting
Camille Scholtz [Tue, 24 May 2016 19:38:46 +0000 (21:38 +0200)]
make undothresthold a setting

8 years agoDo a bounds check for charpos function
Zachary Yedidia [Tue, 24 May 2016 13:15:01 +0000 (09:15 -0400)]
Do a bounds check for charpos function

8 years agoFix crash
Zachary Yedidia [Mon, 23 May 2016 00:59:31 +0000 (20:59 -0400)]
Fix crash

8 years agoImprove the scrollmargin behavior at the end of the buffer
Zachary Yedidia [Sun, 22 May 2016 21:52:42 +0000 (17:52 -0400)]
Improve the scrollmargin behavior at the end of the buffer

8 years agoFix tabstospaces problem
Zachary Yedidia [Sun, 22 May 2016 19:47:28 +0000 (15:47 -0400)]
Fix tabstospaces problem

8 years agoRename to tabstospaces for consistency
Zachary Yedidia [Sun, 22 May 2016 19:35:57 +0000 (15:35 -0400)]
Rename to tabstospaces for consistency

8 years agoMerge pull request #130 from onodera-punpun/center_search
Zachary Yedidia [Sun, 22 May 2016 19:35:29 +0000 (15:35 -0400)]
Merge pull request #130 from onodera-punpun/center_search

Add a bit of "padding" to relocate.

8 years agoAdd ability to bind alt keys
Zachary Yedidia [Sun, 22 May 2016 19:33:40 +0000 (15:33 -0400)]
Add ability to bind alt keys

This lets you bind keys like Alt-b or Alt-f.
This commit also adds some new default keybindings in emacs style, so
alt-a is beginning of line and alt-e is end etc...

8 years agoStore cursor and eventhandler in buffer instead of view
Zachary Yedidia [Sun, 22 May 2016 19:01:02 +0000 (15:01 -0400)]
Store cursor and eventhandler in buffer instead of view

This is better design because the cursor and eventhandler are things the
buffer should know about directly but the view shouldn't. This should
make it easier to add persistent undo or location saving between
sessions (see #107).

8 years agoRemove dollar sign
Camille Scholtz [Sat, 21 May 2016 22:28:29 +0000 (00:28 +0200)]
Remove dollar sign

8 years agoAdd Arch and CRUX installation guides
Camille Scholtz [Sat, 21 May 2016 22:25:49 +0000 (00:25 +0200)]
Add Arch and CRUX installation guides

8 years agosimplify scrollmargins
Camille Scholtz [Fri, 20 May 2016 18:06:01 +0000 (20:06 +0200)]
simplify scrollmargins

8 years agoMove scrollmargin declaration
Camille Scholtz [Fri, 20 May 2016 17:46:18 +0000 (19:46 +0200)]
Move scrollmargin declaration

8 years agoAdd scrollmargin option, rename scrollSpeed to scrollspeed for consistency, make...
Camille Scholtz [Fri, 20 May 2016 17:44:16 +0000 (19:44 +0200)]
Add scrollmargin option, rename scrollSpeed to scrollspeed for consistency, make help.md more consistent (replaced some spaces with tabs)

8 years agoAdd padding to relocate func (fixes weird scrolling behavior)
Camille Scholtz [Fri, 20 May 2016 15:43:26 +0000 (17:43 +0200)]
Add padding to relocate func (fixes weird scrolling behavior)

8 years agoAdd a bit of "padding" to relocate
Camille Scholtz [Fri, 20 May 2016 15:34:20 +0000 (17:34 +0200)]
Add a bit of "padding" to relocate

8 years agoMerge branch 'onodera-punpun-duplicate'
Zachary Yedidia [Fri, 20 May 2016 13:47:18 +0000 (09:47 -0400)]
Merge branch 'onodera-punpun-duplicate'

8 years agoMerge branch 'duplicate' of https://github.com/onodera-punpun/micro into onodera...
Zachary Yedidia [Fri, 20 May 2016 13:46:54 +0000 (09:46 -0400)]
Merge branch 'duplicate' of https://github.com/onodera-punpun/micro into onodera-punpun-duplicate

8 years agoFix ctrl modifiers
Zachary Yedidia [Fri, 20 May 2016 13:41:00 +0000 (09:41 -0400)]
Fix ctrl modifiers

8 years agoMerge
Zachary Yedidia [Fri, 20 May 2016 13:19:28 +0000 (09:19 -0400)]
Merge

8 years agoUse the new and updated version of tcell
Zachary Yedidia [Fri, 20 May 2016 13:19:25 +0000 (09:19 -0400)]
Use the new and updated version of tcell

8 years agoForgot a comma there
Camille Scholtz [Thu, 19 May 2016 22:06:09 +0000 (00:06 +0200)]
Forgot a comma there

8 years agoGive shortcuts more message feedback, add duplicate line option (fixes #124)
Camille Scholtz [Thu, 19 May 2016 22:04:53 +0000 (00:04 +0200)]
Give shortcuts more message feedback, add duplicate line option (fixes #124)

8 years agoAdd colorscheme to makefile syntax file
Zachary Yedidia [Thu, 19 May 2016 11:26:10 +0000 (07:26 -0400)]
Add colorscheme to makefile syntax file

Closes #125

8 years agoMerge pull request #123 from onodera-punpun/package_syntax
Zachary Yedidia [Wed, 18 May 2016 18:03:47 +0000 (14:03 -0400)]
Merge pull request #123 from onodera-punpun/package_syntax

Add some distro specific files to syntax

8 years agoAdd some distro specific files to syntax
Camille Scholtz [Wed, 18 May 2016 17:40:05 +0000 (19:40 +0200)]
Add some distro specific files to syntax

8 years agoMerge pull request #121 from onodera-punpun/case_insensitive
Zachary Yedidia [Wed, 18 May 2016 16:47:40 +0000 (12:47 -0400)]
Merge pull request #121 from onodera-punpun/case_insensitive

search case insensitive

8 years agoAdd ignorecase option
Camille Scholtz [Wed, 18 May 2016 16:44:32 +0000 (18:44 +0200)]
Add ignorecase option

8 years agosearch case insensitive
Camille Scholtz [Wed, 18 May 2016 16:11:11 +0000 (18:11 +0200)]
search case insensitive

8 years agoMerge pull request #120 from aerth/clearmsg
Zachary Yedidia [Wed, 18 May 2016 16:11:02 +0000 (12:11 -0400)]
Merge pull request #120 from aerth/clearmsg

add binding for ClearStatus

8 years agoadd binding for ClearStatus
aerth [Wed, 18 May 2016 14:18:14 +0000 (07:18 -0700)]
add binding for ClearStatus

8 years agoFix selection graphics for indentchar
Zachary Yedidia [Wed, 18 May 2016 13:33:49 +0000 (09:33 -0400)]
Fix selection graphics for indentchar

8 years agoFix ordering of selection on SelectAll
Zachary Yedidia [Wed, 18 May 2016 13:27:17 +0000 (09:27 -0400)]
Fix ordering of selection on SelectAll

Fixes #119

8 years agoFix small bug in Remove function in buffer
Zachary Yedidia [Tue, 17 May 2016 23:57:16 +0000 (19:57 -0400)]
Fix small bug in Remove function in buffer

8 years agoMerge pull request #115 from onodera-punpun/copypaste_feedback
Zachary Yedidia [Tue, 17 May 2016 18:54:13 +0000 (14:54 -0400)]
Merge pull request #115 from onodera-punpun/copypaste_feedback

Add copy feedback

8 years agoAdd copy feedback
Camille Scholtz [Tue, 17 May 2016 18:09:59 +0000 (20:09 +0200)]
Add copy feedback

8 years agoRemove some unnecessary code
Zachary Yedidia [Tue, 17 May 2016 17:39:27 +0000 (13:39 -0400)]
Remove some unnecessary code

Fixes #104

8 years agoMerge pull request #111 from onodera-punpun/fix_jump
Zachary Yedidia [Tue, 17 May 2016 17:38:59 +0000 (13:38 -0400)]
Merge pull request #111 from onodera-punpun/fix_jump

Fix jumping in rxvt-unicode when switching focus

8 years agoChange relocate from true to false
Camille [Tue, 17 May 2016 17:31:36 +0000 (19:31 +0200)]
Change relocate from true to false

8 years agoFix capitalization of scrollSpeed option
Zachary Yedidia [Tue, 17 May 2016 16:53:46 +0000 (12:53 -0400)]
Fix capitalization of scrollSpeed option

Closes #114

8 years agoMerge pull request #110 from onodera-punpun/indentchar
Zachary Yedidia [Tue, 17 May 2016 16:37:47 +0000 (12:37 -0400)]
Merge pull request #110 from onodera-punpun/indentchar

Add indentation character option(s).

8 years agoFix find where the match indicies are the same
Zachary Yedidia [Tue, 17 May 2016 16:36:41 +0000 (12:36 -0400)]
Fix find where the match indicies are the same

Fixes #113

8 years agoMerge pull request #112 from onodera-punpun/customizable_scrolling
Zachary Yedidia [Tue, 17 May 2016 16:28:06 +0000 (12:28 -0400)]
Merge pull request #112 from onodera-punpun/customizable_scrolling

Add scrollspeed option

8 years agoAdd scrollspeed option
Camille Scholtz [Tue, 17 May 2016 16:15:47 +0000 (18:15 +0200)]
Add scrollspeed option

8 years agoRename indent-line to indent-char, change default value from `|` to ` `
Camille Scholtz [Tue, 17 May 2016 16:09:49 +0000 (18:09 +0200)]
Rename indent-line to indent-char, change default value from `|` to ` `

8 years agoFix jumping in rxvt-unicode when switching focus
Camille Scholtz [Tue, 17 May 2016 15:53:49 +0000 (17:53 +0200)]
Fix jumping in rxvt-unicode when switching focus

8 years agoFix typo
Camille [Tue, 17 May 2016 15:21:47 +0000 (17:21 +0200)]
Fix typo

8 years agoAdd indent character option
Camille Scholtz [Tue, 17 May 2016 15:17:18 +0000 (17:17 +0200)]
Add indent character option

8 years agoMerge pull request #108 from onodera-punpun/patch-1
Zachary Yedidia [Sun, 15 May 2016 20:33:45 +0000 (16:33 -0400)]
Merge pull request #108 from onodera-punpun/patch-1

Improve fish syntax file.

8 years agoImprove fish syntax file.
Camille [Sun, 15 May 2016 20:10:07 +0000 (22:10 +0200)]
Improve fish syntax file.

It now has a header, has more and better colors.

8 years agoMerge
Zachary Yedidia [Sun, 15 May 2016 17:44:30 +0000 (13:44 -0400)]
Merge

8 years agoAdd statusline option
Zachary Yedidia [Sun, 15 May 2016 17:44:07 +0000 (13:44 -0400)]
Add statusline option

Fixes #105

8 years agoMerge pull request #102 from icybolts/saving-fix
Zachary Yedidia [Sun, 15 May 2016 11:57:14 +0000 (07:57 -0400)]
Merge pull request #102 from icybolts/saving-fix

fixing ismodified in while saving

8 years agosaving now resets buffer IsModified to false
Dante Swift [Sun, 15 May 2016 06:26:36 +0000 (00:26 -0600)]
saving now resets buffer IsModified to false

8 years agoMerge pull request #101 from icybolts/patch-1
Zachary Yedidia [Sat, 14 May 2016 21:35:50 +0000 (17:35 -0400)]
Merge pull request #101 from icybolts/patch-1

fix default keybindings in help.md, up and down

8 years agofix default keybindings in help.md
Dante Swift [Sat, 14 May 2016 20:51:04 +0000 (14:51 -0600)]
fix default keybindings in help.md

the up and down arrow were switched

8 years agoSimplify IsDirty check
Zachary Yedidia [Sat, 14 May 2016 16:04:13 +0000 (12:04 -0400)]
Simplify IsDirty check

8 years agoUse rope substring instead of report
Zachary Yedidia [Sat, 7 May 2016 14:57:40 +0000 (10:57 -0400)]
Use rope substring instead of report

8 years agoAdd the text member back.
Zachary Yedidia [Fri, 6 May 2016 23:15:10 +0000 (19:15 -0400)]
Add the text member back.

It seems rope.Report is not acting how I expected it to. I need to look
into this in more detail but for now I am adding the Text variable back
to the Buffer.

Fixes #98

8 years agoMerge pull request #82 from zyedidia/plugins
Zachary Yedidia [Fri, 6 May 2016 15:56:24 +0000 (11:56 -0400)]
Merge pull request #82 from zyedidia/plugins

Plugin System

8 years agoUpdate runtime
Zachary Yedidia [Fri, 6 May 2016 15:55:41 +0000 (11:55 -0400)]
Update runtime

8 years agoMerge pull request #97 from aerth/patch02
Zachary Yedidia [Fri, 6 May 2016 15:51:02 +0000 (11:51 -0400)]
Merge pull request #97 from aerth/patch02

Hint at ^P and ^N after entering a Find

8 years agoHint at ^P and ^N after finding
aerth [Fri, 6 May 2016 09:52:51 +0000 (02:52 -0700)]
Hint at ^P and ^N after finding

8 years agoAdd options to help text
Zachary Yedidia [Thu, 5 May 2016 16:56:52 +0000 (12:56 -0400)]
Add options to help text

8 years agoAdd linter option
Zachary Yedidia [Thu, 5 May 2016 15:31:53 +0000 (11:31 -0400)]
Add linter option

8 years agoAdd automatic linting for Go, Python, C, D, Java, Javascript, Lua
Zachary Yedidia [Sat, 30 Apr 2016 22:25:45 +0000 (18:25 -0400)]
Add automatic linting for Go, Python, C, D, Java, Javascript, Lua

8 years agoAdd linter plugin to easily make linters
Zachary Yedidia [Sat, 30 Apr 2016 20:21:08 +0000 (16:21 -0400)]
Add linter plugin to easily make linters

8 years agoImproved error parsing and use warnings for golint instead of errors
Zachary Yedidia [Sat, 30 Apr 2016 18:30:42 +0000 (14:30 -0400)]
Improved error parsing and use warnings for golint instead of errors

8 years agoHave go plugin create its own options
Zachary Yedidia [Sat, 30 Apr 2016 16:13:21 +0000 (12:13 -0400)]
Have go plugin create its own options

8 years agoFix build error
Zachary Yedidia [Sat, 30 Apr 2016 15:47:21 +0000 (11:47 -0400)]
Fix build error

8 years agoFix gutter message line counting
Zachary Yedidia [Sat, 30 Apr 2016 13:37:54 +0000 (09:37 -0400)]
Fix gutter message line counting

8 years agoRefine gutter messages and add go build checking to go plugin
Zachary Yedidia [Fri, 29 Apr 2016 00:43:45 +0000 (20:43 -0400)]
Refine gutter messages and add go build checking to go plugin

8 years agoAdd hooks for every action that's bindable
Zachary Yedidia [Wed, 27 Apr 2016 18:37:58 +0000 (14:37 -0400)]
Add hooks for every action that's bindable

8 years agoAdd default plugins, and install go plugin by default
Zachary Yedidia [Wed, 27 Apr 2016 18:12:32 +0000 (14:12 -0400)]
Add default plugins, and install go plugin by default

8 years agoLoad plugins from ~/.config/micro/plugins
Zachary Yedidia [Tue, 26 Apr 2016 20:20:26 +0000 (16:20 -0400)]
Load plugins from ~/.config/micro/plugins

8 years agoRewrite gofmt and goimports as plugins
Zachary Yedidia [Mon, 25 Apr 2016 16:48:43 +0000 (12:48 -0400)]
Rewrite gofmt and goimports as plugins

8 years agoInterface with plugin.lua file
Zachary Yedidia [Sun, 24 Apr 2016 23:52:02 +0000 (19:52 -0400)]
Interface with plugin.lua file

8 years agoSmall optimization
Zachary Yedidia [Thu, 5 May 2016 15:23:20 +0000 (11:23 -0400)]
Small optimization

8 years agoOptimization for buffer text
Zachary Yedidia [Wed, 4 May 2016 16:43:17 +0000 (12:43 -0400)]
Optimization for buffer text

We no longer store a string representation of the buffer and instead
directly access it through the rope

8 years agoSmall fix to relocation
Zachary Yedidia [Wed, 4 May 2016 11:24:33 +0000 (07:24 -0400)]
Small fix to relocation

8 years agoMerge pull request #94 from aerth/line-jump
Zachary Yedidia [Wed, 4 May 2016 11:22:10 +0000 (07:22 -0400)]
Merge pull request #94 from aerth/line-jump

Add Ctrl+L jump to line #, JumpLine()

8 years agoAdd Ctrl+L jump to line #, JumpLine()
aerth [Wed, 4 May 2016 14:48:28 +0000 (07:48 -0700)]
Add Ctrl+L jump to line #, JumpLine()
Converts input to integer
Returns error if any
Only jumps to possible lines
Returns number of lines available

8 years agoUpdate screenshot and status line
Zachary Yedidia [Tue, 3 May 2016 22:54:01 +0000 (18:54 -0400)]
Update screenshot and status line

8 years agoAdd R syntax file
Zachary Yedidia [Mon, 2 May 2016 19:01:46 +0000 (15:01 -0400)]
Add R syntax file

Closes #91

8 years agoUse tcell's EventPaste to capture paste from the OS
Zachary Yedidia [Mon, 2 May 2016 15:16:03 +0000 (11:16 -0400)]
Use tcell's EventPaste to capture paste from the OS

This commit uses the recent commit to zyedidia/tcell to capture paste
events from the OS.

Fixes #60
Fixes #61

8 years agoDefault setting for tabsize should be float64 not int
Zachary Yedidia [Mon, 2 May 2016 11:23:08 +0000 (07:23 -0400)]
Default setting for tabsize should be float64 not int

Fixes #92

8 years agoUse hash for savedText instead of full string
Zachary Yedidia [Sun, 1 May 2016 23:07:54 +0000 (19:07 -0400)]
Use hash for savedText instead of full string

8 years agoDon't store buffer in text event
Zachary Yedidia [Sun, 1 May 2016 20:45:23 +0000 (16:45 -0400)]
Don't store buffer in text event

8 years agoRemove unnecessary check for selection
Zachary Yedidia [Sat, 30 Apr 2016 20:56:48 +0000 (16:56 -0400)]
Remove unnecessary check for selection

8 years agoFix differences between selection with keys and with mouse
Zachary Yedidia [Sat, 30 Apr 2016 20:50:43 +0000 (16:50 -0400)]
Fix differences between selection with keys and with mouse

Fixes #89

8 years agoChange selection color in solarized colorscheme
Zachary Yedidia [Sat, 30 Apr 2016 19:32:33 +0000 (15:32 -0400)]
Change selection color in solarized colorscheme

8 years agoMerge
Zachary Yedidia [Sat, 30 Apr 2016 19:02:42 +0000 (15:02 -0400)]
Merge

8 years agoIf a setting is not defined, use the default, not the zero value
Zachary Yedidia [Sat, 30 Apr 2016 19:02:33 +0000 (15:02 -0400)]
If a setting is not defined, use the default, not the zero value