aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
AgeCommit message (Collapse)Author
2016-02-18PassNextKey; store key mapping in settings.Stephen Blott
We need the key mapped to passNextKey in the front end so that we can activate pass-next-key from within insert mode too (without the need to consult the background page).
2016-02-18PassNextKey; initial implementation.Stephen Blott
This implements a passNextKey command (initially for normal mode only), as discussed in #1955.
2016-02-16Use `for own ... of` instead of `for ... of`mrmr1993
2016-02-09BgUtils; implement visitPreviousTab.Stephen Blott
Implements visitPreviousTab (as discussed in #1955).
2016-01-31Use a count with link hints.Stephen Blott
Pass a count to link-hint commands, and the link-hint mode is started that many times (except "with queue"). This resolves the same issue as #1291. However, this: - does not require re-basing (which is no biggie), and - keeps all of the count-handling logic (apart from plumbing) in one place, in `LinkHints.activateMode()`. The link-hints mode itself does not know anything about count handling. Serious bug: - Using `Escape` to exit does not cancel the repeat! Fixes #1289. Closes #1291.
2016-01-31Merge branch 'goToLine'Stephen Blott
2016-01-31Merge pull request #1958 from smblott-github/logging-pageStephen Blott
Add a logging page...
2016-01-31Wholly remove edit-mode code.Stephen Blott
I am now of the opinion that we should not do this within Vimium, as: - better solutions exist externally, and - it's better to not have to maintain this.
2016-01-31Add a basic log page; tweaks.Stephen Blott
This tweaks @mrmr1993's logging ideas discussed in #1629: - Do not generate log entries from the logging page itself. - Use the logger for *all* logging (including from `commands.coffee`, and from `bgLog`). @mrmr1993's original idea is 91fb337c9d92f6291ef42c55c4d29ca35b710203.
2016-01-30Add number modifier to `gg' scrollToTop commandmrmr1993
2016-01-29Revert "Enable edit mode."Stephen Blott
This reverts commit e975633f3ee8da9e01c332b2dcdb8422d5f941d8.
2016-01-26Enable edit mode.Stephen Blott
This re-enables edit-mode (`gv`). The code for this has been present in `master` for quite some time, but has been disabled.
2016-01-26Remove "beta" label from visual-mode commands.Stephen Blott
These seem to be working fine, we can commit to them.
2015-09-17Add <count> prefix for g0 and g$.Stephen Blott
`2g0` takes you to the second tab. `2g$` takes you to the second last tab. This gives us `gt`/`gT` for relative tab selection and `g0`/`g$` for absolute tab selection. `<count>` previously had no special meaning for `g0` and `g$`, and it's not clear it could have any other meaning than that implemented here. Fixes #1298 (kind of).
2015-05-31Merge pull request #1675 from smblott-github/map-space-keyStephen Blott
Allowing mapping <space>.
2015-05-31Merge pull request #1700 from smblott-github/help-page-vomnibar-commandsStephen Blott
Move Vomnibar commands to own category on help page.
2015-05-31Merge pull request #1697 from smblott-github/vomnibar-map-with-prepopulated-textStephen Blott
Direct keyboard access to custom-search engines via keyword flag
2015-05-30Move Vomnibar commands to own category on help page.Stephen Blott
The help page gets pretty lopsided when advanced commands are shown. This balances things out a bit by creating a new category for Vomnibar commands in the right-hand column.
2015-05-30Use the term "options" instead of "flags" for command options.Stephen Blott
"Flags" implies binary toggles. The term "options" seems more consistent with what's actually going on here.
2015-05-29Move registration of postUpdateHooks to the corresponding source filesmrmr1993
This completely decouples settings.coffee from all other background source files, so that it can (eventually) also be used in the frontend.
2015-05-29Rework parsing of custom key mappings.Stephen Blott
Most of this is just a tidy up of code that's been around for a long time. The only difference, however, is that now a key mapping can include extra data ("extras") after the name of the command. For example, map s vomnibar.activate keyword=g Here, and extra property "extras" is added to the command registry: extras: ["keyword=g"] This is a first step towards direct vomnibar activation for custom search.
2015-05-27Go directly to next/previous tab.Stephen Blott
This makes nextTab and previousTab go directly to the relevant tab, without visiting intervening tabs -- all of which avoids a nasty flicker for 5J or 5K.
2015-05-20Allowing mapping <space>.Stephen Blott
Fixes #544. Copy of #655.
2015-04-21Implement mainFrame command.Stephen Blott
Fixes #426.
2015-03-05Note that visual mode is a beta feature.Stephen Blott
2015-02-22Remove "not yet implemented" note for visual mode.Stephen Blott
2015-02-09Merge branch 'visual-and-edit-modes'Stephen Blott
Conflicts: background_scripts/main.coffee content_scripts/vimium_frontend.coffee lib/keyboard_utils.coffee
2015-02-09Visual/edit modes: disable edit mode for merge to master.Stephen Blott
2015-02-03Visual/edit modes: remove "e" binding for edit mode.Stephen Blott
The "e" binding for edit mode is super convenient. However, it clashes with "e" bindings on Gmail and Google's Inbox. If you get too used to it, then you keep archiving messages unintentionally. So, let's try just the "gv" binding for now.
2015-01-29Fix parsing of command mappings.Stephen Blott
Fixes #1443.
2015-01-26Visual/edit modes: minor changes.Stephen Blott
2015-01-25Visual/edit modes: visual line mode.Stephen Blott
2015-01-23Visual/edit modes: more (and better) commands.Stephen Blott
2015-01-23Visual/edit modes: develop edit mode.Stephen Blott
- implement "i", "a". - fix "w" for edit mode. - try out "e" for enter edit mode. - initial implementation "o", "O" - Suppress backspace and delete. - Scroll in text areas.
2015-01-21Edit mode: initial framework.Stephen Blott
2015-01-06Modes; Note visual mode not yet implemented.Stephen Blott
2015-01-03Modes; visual-mode template.Stephen Blott
Visual mode command has been create: bound to `v`, of course. The template is in mode_visual.coffee. It shouldn't really be necessary to make changes outside of there. Let me know if you have any issues.
2014-12-29Remove UI component demo.Stephen Blott
2014-12-29IFrame framework; develop demo.Stephen Blott
2014-12-14Remove default binding for LinkHints.activateModeToDownloadLink.Stephen Blott
LinkHints.activateModeToDownloadLink is newly-added, and hasn't been in a release before. It's an advanced command, and it's not clear it warrants a default binding.
2014-10-27Ensure advanced commands are in command groups.Stephen Blott
2014-10-26Reduce max removeTab to chrome.session.MAX_SESSION_RESULTS.Stephen Blott
2014-10-26Increase repeatLimits.Stephen Blott
2014-10-26Merge branch 'add-download-link-to-commands' of github.com:mrmr1993/vimium ↵Stephen Blott
into mrmr1993-add-download-link-to-commands
2014-10-26Limit repeats, minor refactoring.Stephen Blott
2014-10-26Add LinkHints.activateModeToDownloadLink to command listmrmr1993
2014-10-25Prompt for confirmation when executing large numbers of repeatsmrmr1993
Implement `repeatLimit`, to prompt for confirmation before repeating a command a large number of times, and apply it to tab creation/deletion commands.
2014-10-25Add noRepeat to relevent frontend commandsmrmr1993
The use of Vomnibar commands with a numerical prefix > 1 is broken and non-trivial to fix. This patch introduces the `noRepeat` property for frontend commands, applying it to all Vomnibar commands and several others.
2014-10-25Merge branch 'feature/edit-url-in-vomnibar' of github.com:sukima/vimium into ↵Stephen Blott
sukima-feature/edit-url-in-vomnibar Conflicts: background_scripts/commands.coffee
2014-10-25Merge pull request #784 from deiga/patch-3Stephen Blott
Add links-hint mode to download links