Tag Info

Hot answers tagged

159

Linux and Windows Just highlight it in the dropdown list (using the arrow keys, or your mouse cursor) and press delete on your keyboard. Note that you may have to press shift+delete in some cases, like if the autocomplete is in the address bar (URL) field. Mac Start typing so that the unwanted autocomplete URL comes up. Hit fn+shift+delete if you have a ...


84

You can remove entries from the list using the following steps: Select the "Username" field and make sure it is blank Press ↓ on your keyboard, a list of all of the "remembered" entries should appear. Using ↑ & ↓ highlight an entry you would like to delete. Press delete. (Note that you may need to use shift+delete, fn+delete, ctrl+delete ...


39

Follow the next steps: Clear the omnibar Start writing the address that gives you the unwanted history item As soon as the history item apears below the omnibar use the down arrow to select it Press Shift+Del (or Fn+Shift+Del if on a Mac)


30

I have found the solution to my problem in the ZSH documentation. Oh-my-zsh seems to map the ↑ and ↓ Keys to something like bindkey '\e[A' history-search-backward bindkey '\e[B' history-search-forward Which yields the exact behavior I described above. The ZSH Documentation describes the behavior of history-search-backward as Search backward in the ...


26

echo "set mark-symlinked-directories on" >> ~/.inputrc Ctrl+x, then Ctrl+r via Ubuntu Forums - Strange bash shell tab completion behaviour


22

Enable the mark-symlinked-directories option for readline. Edit ~/.inputrc: $include /etc/inputrc set mark-symlinked-directories on Press C-x, C-r to reload the settings. See section READLINE in the manual page of bash for further documentation.


19

Try this: Open the Address Book. Select Collected Addresses. Select the entries to delete. Type Del to delete the entries. Ensure no explicit entries for the obsolete email address exist in Personal Address Book.


13

Download bash_completion and source it from your .bashrc. Then put contrib/completion/git-completion.bash from the git distribution into bash_completion.d. Alternatively you can install it via MacPorts.


12

Add this to your .vimrc: set wildmenu set wildmode=list:longest


11

On a Macintosh, type enough text to bring up the autofill entry you would like to remove and use the arrow keys to highlight the entry you would like to delete, then do fn+shift+delete and the entry will be deleted.


11

You can use the glob-expand-word function, from man bash: The word before point is treated as a pattern for pathname expansion, and the list of matching file names is inserted, replacing the word. If a numeric argument is supplied, an asterisk is appended before pathname expansion. Add something like this to your ~/.inputrc: Control-x: glob-expand-word ...


11

Go to the Chrome menu on the browser toolbar Click Settings Click Show advanced settings (on the bottom) In the Privacy section, deselect the "Use a prediction service to help complete searches and URLs typed in the address bar" checkbox Keep in mind that the address bar shows matches from your browsing history, in addition to predictions. If you don't ...


10

I think you can just add the relevant new keywords to the langs.xml file within the Notepad++ directory (back it up first, the usual warnings, etc). But, I believe this will do syntax highlighting only. So, if you then go in to the plugins\APIs subdirectory you can edit the relevant .xml to also provide auto completion.


10

Add this to your vimrc to auto close the preview window when you exit the insert mode: autocmd InsertLeave * if pumvisible() == 0|pclose|endif


9

In Bash, it performs the readline function complete-into-braces. Brace expansion is a useful way of abbreviating a reference to multiple files. For example: ls -l /path/to/dir/*.{c,h} would list all the files that end in ".c" or ".h". From man bash: complete-into-braces (M-{) Perform filename completion and insert the list of ...


8

What Vim does in response to your typing the <Enter> key while using insert completion depends on the state of the completion menu. The behavior of the menu is described here: :help ins-completion-menu and the behavior of various keys when using insert completion is described in the next section, :help popupmenu-keys where it explains that the ...


8

I got it, finally. It was hiding in /etc/bash_completions which - ironically - I overlooked as it didn't appear on my filename completions. The helpful bash_completions thinks that gv means ghostview so it will only allow me to complete filenames that it expects ghostview can handle: complete -f -X '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?' gv ggv kghostview I ...


8

I usually type Ctrl-X Ctrl-F like I would open a file, but instead of pressing RET I press Ctrl-A Ctrl-K Ctrl-G to copy the path and then paste it into the buffer I was editing with Ctrl-Y. I don't need this often enough, but if I really wanted a better solution, I would definitely use Trey Jackson's solution using hippie-expand. I thought about how ...


8

Try Hippie Expand, which as one of it's possibilities has 'try-complete-file-name. You can change the order and list of expansion functions hippie expand will use to favor expanding the file name. Or, you could even write a custom wrapper that would only do the file name expansion. Something like: (global-set-key (kbd "C-M-/") ...


8

Disabling tilde expansion is quick and painless. Open up ~/.bashrc and insert this: _expand() { return 0; } This will override the expand function from /etc/bash_completion. I'd recommend commenting on what it does above the function in case you want the expansion back in the future. Changes will take effect in a new instance.


8

I have been using this for some time now: function! InsertTabWrapper() let col = col('.') - 1 if !col || getline('.')[col - 1] !~ '\k' return "\<tab>" else return "\<c-p>" endif endfunction inoremap <tab> <c-r>=InsertTabWrapper()<cr> This lets you use the tab key normally when the cursor is at ...


7

In the browser bar, go to the website about:config. You may need to click a button before you see the table of available properties. Use the Search field to find a preference called browser.urlbar.autoFill. It will likely be set to true. Set it to false.


7

Autocompletion for git is not a bash-builtin functionality, but an additional "third-party plugin" using the basic autocomplete system of the shell, which you happen to have installed (AFAIK it is a part of the git install). For zsh there either exists no similar autocomplete file or you don't have it installed. Nevertheless, this says nothing about the ...


7

The short answer is no. The longer better answer is that since you are on Windows 7, you should move to using powershell instead of cmd which will autocomplete using /.


7

Go to TextFX / TextFX Settings and check "auto close XHTML tags". This makes it work in plain HTML files as well.


6

Hover the mouse cursor over each one and press the specified key. Most browsers: Del Chrome: Shift + Del Mac + Chrome: Fn + Shift + Del In some browsers, this also works for removing history entries from the address bar.


6

path-directories One way is to add the following completion settings in your .zshrc to remove path-directories from the suggestion sources. zstyle ':completion:*:complete:(cd|pushd):*' tag-order \ 'local-directories named-directories' group names Alternatively or additionally, the following settings should display a heading for all respective groups ...


6

I use bind 'TAB:menu-complete' to achieve it


6

Autocomplete feature is disabled by default, but a simple Preferences setup will get you using the new auto-complete feature in no time at all. Go to Settings -> Preferences, and switch to the Backup/Auto-competion tab. At the bottom of that screen you’ll see where you can enable auto-completion, and you can optionally turn on the “show function parameters” ...


6

The Chrome Omnibar predicts web domains and web searches as you type into it. Once you've visited a site several times, it should start predicting that domain as you begin typing it. This is somewhat different from other browsers, which search your history for matching patterns (auto-complete). I think this is a trade-off, which makes Chrome more ...



Only top voted, non community-wiki answers of a minimum length are eligible