I've built a number of work-specific helper functions that could be useful for other members of my teambut I've written them all in Emacs' Elisp. And getting them to convert from Notepad++ is NOT going to happen.
So, I'm thinking convert the functions to Perl. No problem.
Except I use ido-completion all the time to limit responses:
...
Hello,
I have a Makefile where most of my targets are created generically through a canned sequence. It seems that bash completion only suggests completions for normal targets, e.g.
target_name:
#$@
and not for generic targets. Is there any way to make bash completion complete all the targets, even though they are not made ex...
Question: How do you tell ctrl-r reverse-i-search to "reset itself" and start searching from the bottom of your history every time?
Background: When using reverse-i-search in bash, I always get stuck once it is finished searching up through the history and it cannot find any more matches. Sometimes I hit escape and re-invoke ctrl-R a se...
Noob question here, trying to wean myself off of IDEs.
In editors/ides such as eclipse and textmate, there are shortcuts to quickly find a particular file in a project directory.
Is there a similar tool to do full path completion on filenames within a directory (recursively), in bash or other shell?
I have projects with alot of direc...
To open a file in vim, I usually type ":e " and then hit tab until the file I want appears.
However, I always get in a rhythm and inadvertently go ONE past the desired file. Without knowing how to move backwards, I end up tabbing all the way to the end and repeating the whole process.
Is there a way to perform the filename completion ...
I'm wondering which approach is faster and why ?
While writing a Win32 server I have read a lot about the Completion Ports and the Overlapped I/O, but I have not read anything to suggest which set of API's yields the best results in the server.
Should I use completion routines, or should I use the WaitForMultipleObjects API and why ?
...
I have a file handle to a serial (COM) port. I need to read whatever data is available immediately and not wait for additional data to be sent.
How can I determine how much data is available? I can call SetCommMask(myHandle, EV_RXCHAR) and then wait for an event to tell me that some data is available, but that won't tell me how much I ...
I have a button in the update panel. Another function say function1 is executed in the click event of this button. I want to call a javascript function once the function1 completes execution. How will I know when the function1 has completed its execution?
...
A general question on style and best practices...
I have an ObjC controller object.
After alloc/init of the object, I get it to do a job asynchronously:
[myObject doSomeThingsOverTime];
The method sets things in motion, and then returns immediately.
Question: what is the best way to be notified of the result in the future, so that I...
Hi there, I found a command a couple of months ago that made my bash history auto-complete on what's already on the line when pressing the up arrow:
$ vim fi
[press up]
$ vim file.py
I'd like to set this up on my new computer, because it saves a lot of time when keeping a big history. The problem is that I can't for the life of me r...
Sorry if my google fu is too weak, but: I simply want to adjust zsh so that I can tab complete
someappname -s
using the contents (filenames) of ~/somedir
For example:
someapp -s f<tab>
should cycle through completions based on the files starting with the letter f in ~/somedir . So I might end up with a command line like: "someapp...
I'm exploring the hardware/software requirements (ultimate goal is mobile Java app) for a potential free/paid application.
The application will start with this simple goal: Given a list of relevant words in a database, to be able to do word completion on a single string input.
In other words I already know the contents of the database ...
For example, I currently have this:
set iskeyword-=_
This has the effect of making this work:
foo_bar
If cursor is on "f", pressing w moves cursor to the underscore. Pressing again moves to the "b" in bar. This is the desired effect for movement, but has the undesired side-effect of breaking completion. Same story with CamelCas...
Hi there,
This is the case. At test.php, I have a function dotask(a,b,c,d);
This function need to do task that need 2-4 minutes to complete.
Task including insert new record into db, curl call to other url to do task and etc.
However, I want test.php to:
Just make sure dotask(a,b,c,d) is called, no need to wait until task completed th...
I'm trying to set up directory completion in tcsh and/or bash (both are used at my site) with a slight twist: for a particular command "foo", I'd like to have completion use a custom function to match the first /-delimited term to an actual subtree node, and then follow normal directory completion for any successive terms. It is sort of...
Does anyone know how to get TextMate to search an external file (or even the files contained in a TextMate "project") with which to perform word completion?
I'm coding some stuff on the C64 (using TextMate to write the code) and I have an external file containing labels for all of the hardware registers/kernal routines e.g
VIC2Interupt...
I have a problem with the zsh tab completion: After running:
autoload -U compinit
compinit
Git tab completion for files does not work any more. For example if I type git add my_f to complete my_file, nothing happens. The zsh git completion only seems to work for git branches and tags.
Without the compinit stuff, git file completion wo...
I would like to accomplish two tasks at once.
First, to move my snippets of code from .txt files and be able to tag them/organize better.
Second, assign shortcuts to those snippets that will allow me to type "p" + TAB which will render assigned snippet (I don't care of cursor position etc)
...
I turned on completion in Vim:
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTa...
Omnicompletion works pressing <C-X><C-O> making a dropdown list appear.
I wanted to map it as <S-Tab> <C-X><C-O> but first I wanted to test it as: <C-F5> <C-X><C-O>.
It does complete the word but the dropdown list doesn't show up. (the same happens with the plugin SuperTab).
Any suggestions?
EDIT: *it Works* like this inoremap <S-F5> <...