A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/momo-lab/zsh-smartinput below:

momo-lab/zsh-smartinput: This is a zsh plugin to provided smart input.

This is a zsh plugin to provided smart input. When brackets/quotes are inputted, the corresponding brackets/quotes are automatically inputted. Support character is (), [], {}, ", ' and `.

This plugin consulted vim-smartinput.

zplug "momo-lab/zsh-smartinput"

Clone this repository somewhere (~/.zsh-smartinput for example) and source it in your .zshrc

git clone https://github.com/momo-lab/zsh-smartinput.git
source ~/.zsh-smartinput/smartinput.plugin.zsh

This plugin provides the following rules (note that "#" indicates the cursor position in the following examples):

Automatically complements the corresponding brackets/quotes:

Before Input After # ( (#) # [ [#] # { {#} # " "#" # ' '#' # ` `#`

Input right brackets/quotes to leave the block:

Before Input After (#) ) ()# (foo#) ) (foo)#

Input the backspace key to remove the corresponding brackets/quotes:

Before Input After (#) <BS> # ()# <BS> #

Care to escaping characters:

Before Input After \# ( \(#

Care to English words:

Before Input After foo# 's foo's#

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4