I am using git bash in ConEmu. When there are multiple results for the completion I would like the tab autocomplete to display them in a grid but not to complete with the first result.
I have the results appearing using bind 'set show-all-if-ambiguous on in my .bashrc but then the first result is filled and I have to backspace delete it to make my search more specific.
I also had bind 'TAB:menu-complete' set. This was causing the first result to get filled in.
Related
using the "Replace..." [Find menu] function a slide-in at the bottom appears with an option field/entry for "Find:" and below that one, one for "Replace:"
having completed a replace [eg "Find: abc", "Replace: xyz"] for instance by employing "Replace All" the very slide-in disappears
now for another, new, search, for instance within a document having selected a different, let's say word like "oha", that selection 'oha' is auto-copied over as new entry in "Find:" when using "Replace..." again. this is to say that now in "Find:" the entry does read "oha" tho didn't paste it manually in -- the "abc" entry fromthe previous search got replaced
however, the last entry in the "Replace:"-entry-field remains unchanged
it's the "Find:" entry that get's auto filled in w/out the option [as far as i could figure out]
and that exactly is my question about :
any option to modify Sublime's settings such that nothing gets changed/auto-copied/filled-in at "Find:" ?
pretty annoying behaviour, as i experience it, for instance when having to replace just a single character combi within similar text and each time the copy-selected text get's auto-copied/filled-in at "Find:" rather than leave it be till the usr opts to modify that entry from previous replace-calls
The Find and Find and Replace widgets automatically populate the Find box with either the current selection if there is one, or the previous value used in that box. This box is a dropdown, which contains the previous values used, so you can easily go back through your history in that window and not have to re-type a complicated regular expression, for example.
When the Find box opens pre-populated with a value, it is automatically selected, so to get rid of it all you have to do is hit Backspace or Delete. Alternatively, you can just begin typing your new search query, and it will erase the old one.
There is a setting in Sublime Text 4 that modifies this behavior:
// If true, the selected text will be copied into the find panel when it's
// shown.
// On Mac, this value is overridden in the platform specific settings.
"find_selected_text": true,
If you set "find_selected_text": false, in your user settings, you can disable this behavior.
I often use Xcode snippets which contain fields to fill (like <#time_interval#>), I jump between those fields with tabulator. Sometimes, when I fill a field with a word and click tab to jump to next field, Xcode automatically changes word to first suggestion from autocompletion dropdown, e.g. HelloWorld. I don't want to disable suggestions, I just want to disable completing my code on clicking tab. Is there a way to do so? I feel extremely dumb because I make iOS apps for over 7 years already and this setting drives me crazy. It should be something simple somewhere and I must have missed it over and over.
UPDATE for clarification (images):
Click tab and enter one field to fill it:
Type what you want to have there e.g. "literal" word:
Click tab again to pass onto next fillMe field. Expected result:
Actual result (instead of word "literal" you get Color Literal there which is the first position in autocompletion list):
You may use CMD+Z as a workaround - it will revert Xcode autocompletion and leave everything else as is.
In the Neo4j web interface, what is the function of the button with "+" on it?
It does basically just clear the query buffer, but the main way I use it is to distinguish editing a saved query from typing a new one. If you type a query you can save it by clicking the "star" button. That button is now highlighted, indicating that you are viewing a saved query. If you change the query, the star button (still highlighted) will turn into an exclamation mark, indicating that if you click it now you will save the changes you've made to the query. This is true also when deleting all the characters in the buffer. If you start typing again, the exclamation mark returns, indicating that you are still editing the same saved query. If you want create a new query, that has nothing to do with the saved query, the plus button let's you do that.
I use this mainly when I store several similar versions of a query: create the first version, save it, copy query, click plus, paste, edit, save second version, rinse, repeat.
It just cleans up the input line. Instead you could just mark everything (Ctrl+A) and remove (Ctrl+X).
I have a large block of text, and I want to insert comment delimiters // at the beginning of every line. I am using X11 forwarding to run GVim from a remote Linux box on my local windows machine. I can use the Ctrl+Q to enter the block selection mode as suggested in this post. When I try to press Shift+i to insert in the selected block, it deletes what I have selected and instead inserts the letter "I" at the top line of my selection and puts me in insert mode.
Any suggestions on how I can insert comment delimiters at the beginning of every line in a block? I would love to solve the problem with block insert, but a work-around would also be appreciated.
have you tried :s command?
select those lines
then :s#^#//#
Your Vim is set to behave mswin. You can use :behave xterm to make it behave in the default manner, and then the other suggestions should work.
The behavior of replacing the selection is a characteristic of select mode. You need to use visual mode for the column-insert via I.
How you got into select mode depends on your configuration. If <C-Q> gets you there, you likely have the cmd value in the 'selectmode' setting.
This is a comma separated list of words, which specifies when to start
Select mode instead of Visual mode, when a selection is started.
Possible values:
mouse when using the mouse
key when using shifted special keys
cmd when using "v", "V" or CTRL-V
Also check the options listed under :help :behave. You may have turned on :behave mswin, and that causes all such unexpected effects.
On a fresh Ubuntu 12.04 install, my terminal tab-complete settings are configured such that the options are cycled through upon the second tab rather than what I am used to (listing all options and only completing what can be determined)
For example, in a directory containing listPixels.html and listPublishers.html, I want the a tab complete from
l
to simply complete
listP
and then a second tab should list all possible matches rather than cycling through listPixels.html and listPublishers.html on each subsequent tab.
You have menu-complete turned on. Simply rebind Tab to complete.
bind '"\C-i":complete'
I believe that's a setting in your .inputrc.
Use the line:
set show-all-if-ambiguous On