Giter Site home page Giter Site logo

autopair.fish's People

Contributors

giorgiga avatar jorgebucaran avatar kidonng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

autopair.fish's Issues

What is `_autopair_tab` supposed to do?

Hi, thanks for this plugin! I was going through your code and I found the _autopair_tab function, which deletes a character from the current token if it matches the regex \$[^\s]*"$ when the user presses <Tab>.

Why is this being done?

complete inside {}

hi, is it possible to add complete inside {}? or add a simple way to configure which pairs will complete by the plugin?

Autopair not loading on new iTerm instances

I'm not sure what's the issue here, but Autopair does not seem to be loading on iTerm after I quit the terminal...

For instance, when I run fisher install jorgebucaran/autopair.fish the autocomplete will work, but not anymore once I quit iTerm and begin a new terminal instance.

Autopair seems to be a rarity that experiences such a problem; I have fzf, nvm, along with a couple other plugins, but most of them loads on startup whereas Autopair does not. Here's my (mostly empty) ~/.config/fish/config.fish:

if status is-interactive
	nvm use 18.16.0
	fzf_configure_bindings --variables=\cv --directory=\cf --git_log=\cg --history=\cr
end

Have I missed any steps during the installation? Thanks in advance.

Possible to preserve autocomplete

Hello! Thanks for this amazing function, it works really well.

One thing i have been missing, is autocompletion for git commit messages, for example:

Screenshot 2023-01-11 at 16 16 52

Without this library, I could type " and then use some of the autocompleted text to fill my message, but when this library adds the matching " on the end, the autocomplete is gone:

Screenshot 2023-01-11 at 16 18 00

Is it possible to trick fish autocomplete to ignore the ending " somehow?

In fish docs, there are things like https://fishshell.com/docs/current/cmds/commandline.html, could this somehow be used to trick fish into not searching with the ending " for autocompletions?

Renaming conf.d file

Hey there!

I just found out about this plugin and am definitely going to be using it! However I noticed that the file in the conf.d file is not prepended with an underscode (i.e. _). For the functions folder the files are prepended with an underscore.

Being a person that stole someone else's dotfiles my gitignore already ignores all fish files starting with an underscore, but since the file does not have one it is not auto-ignored.

Hence my main question: Could this file be renamed to adhere to the underscore usage? Or is there a different reason that I am missing here?

Weird behavior in vi mode

In insert mode, the plugin doesn't react to delimiters at all.
In normal mode, it works, but makes fish go in insert mode while somehow not updating my prompt to reflect that...

Peek 2020-12-05 11-22

In this gif, you can see the Starship prompt which normally points to the left in normal mode and to the right in insert mode.

What I would expect:

Plugin doesn't react in normal mode and doesn't switch modes.
Plugin works in insert mode.

Character before cursor erased when inside double quotes

Fish won't trigger tab completions for variable names while inside double quotes, so we remove the closing " in "$fish_Tab" and trigger tab completions for you. This, however, fails for "$fish_Tabcolor" where we end up erasing the character before the cursor, rather than the closing ".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.