Tag Info

Hot answers tagged

229

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 ...


107

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 ...


53

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)


38

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 ...


31

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.


27

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


24

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.


18

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.


16

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


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.


13

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

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.


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 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 ...


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


10

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.


9

In bash, the readline capability is called glob-expand-word and is bound to CtrlX* by default.


9

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 ...


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 ...


9

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-/") ...


9

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.


9

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 ...


9

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 ...


8

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 ...


8

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


8

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


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

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” ...


7

You can use abbreviations in your ~/.vimrc file for just a couple of words: :abbr supe superuser :abbr autoc autocomplete :abbr que question These will auto-complete after pressing Space or Enter. So if you typed que then pressed Space or Enter it would finish the word "question" for you. If you are adding a lot and want this interface: You can use ...


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.



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